import { repost } from './client.ts'
import type { LikeRepostInput } from './types.ts'
/**
* Repost a Bluesky record. Publishing requires `confirm: true`.
* @param params.uri - Post AT URI to repost.
* @param params.cid - Post CID matching the URI.
* @returns Created repost record or dry-run payload.
* @example
* import repost from 'kody:@kody/bluesky/repost'
* const result = await repost({ uri: 'at://...', cid: 'bafy...', dryRun: true })
* // => { dryRun: true, action: 'repost', payload: { ... } }
*/
export default async function repostEntrypoint(params: LikeRepostInput = {}) {
return await repost(params)
}