import type { ApiClient } from "@promobase/sdk-runtime"; import { Cursor } from "@promobase/sdk-runtime"; import type { CommentFields } from "./comment.ts"; import type { PrivacyFields } from "./privacy.ts"; import type { ProfileFields } from "./profile.ts"; export interface LinkFields { caption: string; created_time: string; description: string; from: Record; icon: string; id: string; link: string; message: string; multi_share_optimized: boolean; name: string; privacy: PrivacyFields; via: Record; } export interface LinkCreateCommentsParams { attachment_id?: string; attachment_share_url?: string; attachment_url?: string; comment_privacy_value?: string; facepile_mentioned_ids?: string[]; feedback_source?: string; is_offline?: boolean; message?: string; nectar_module?: string; object_id?: string; parent_comment_id?: Record; text?: string; tracking?: string; [key: string]: unknown; } export declare function linkNode(client: ApiClient, id: string): { __path: string; __brand: LinkFields; get: (opts: { fields: F; params?: Record; }) => Promise>; createComment: (params: LinkCreateCommentsParams) => Promise; likes: (opts: { fields: F; params?: Record; }) => Cursor>; }; //# sourceMappingURL=link.d.ts.map