import '@atcute/bluesky/lexicons'; import type { AppBskyFeedDefs } from '@atcute/client/lexicons'; import type { Brand } from '@atcute/client/lexicons'; export declare const fetchPost: (opts: PostFetchOptions) => Promise; export declare interface PostData { thread: Brand.Union | null; contextless: boolean; allowUnauthenticated: boolean; } export declare interface PostFetchOptions { /** * AT-URI of the post in question */ uri: string; /** * Abort signal to cancel the request */ signal?: AbortSignal; /** * Whether to fetch post without context (no parent replies) * @default false */ contextless?: boolean; /** * Whether to allow unauthenticated viewing * @default false */ allowUnauthenticated?: boolean; /** * AppView service to use * @default "https://public.api.bsky.app" */ serviceUri?: string; } export declare const renderPost: (data: PostData) => string; export { }