import type { OAuthConfig, ThreadsClientOptions } from "./types.ts"; export type * from "./types.ts"; export declare function createThreadsClient(opts: ThreadsClientOptions): { posts: { publishText(opts: import("./types.ts").PublishTextOptions): Promise; publishImage(opts: import("./types.ts").PublishImageOptions): Promise; publishVideo(opts: import("./types.ts").PublishVideoOptions): Promise; publishCarousel(opts: import("./types.ts").PublishCarouselOptions): Promise; reply(opts: import("./types.ts").ReplyOptions): Promise; delete(postId: string): Promise; getPermalink(postId: string): Promise; list(opts?: { limit?: number; after?: string; }): Promise>; getInsights(postId: string, metrics?: string[]): Promise; }; replies: { list(postId: string, opts?: { limit?: number; after?: string; reverse?: boolean; }): Promise>; getConversation(postId: string, opts?: { limit?: number; after?: string; reverse?: boolean; }): Promise>; hide(replyId: string, hidden?: boolean): Promise; }; account: { get(fields?: string[]): Promise; }; containers: { create(params: import("./containers.ts").CreateContainerParams): Promise<{ id: string; }>; getStatus(containerId: string): Promise<{ status: import("./types.ts").ThreadsContainerStatus; errorMessage?: string; }>; publish(containerId: string): Promise; }; }; export declare function createThreadsOAuth(config: OAuthConfig): { getAuthorizationUrl(opts?: { scopes?: string[]; state?: string; }): string; exchangeCode(code: string): Promise; exchangeForLongLived(shortLivedToken: string): Promise; refreshToken(longLivedToken: string): Promise; completeOAuth(code: string): Promise<{ token: import("./types.ts").LongLivedToken; userId: string; }>; }; //# sourceMappingURL=index.d.ts.map