import type { ApiClient } from "@promobase/sdk-runtime"; import { Cursor } from "@promobase/sdk-runtime"; import type { ApplicationFields } from "./application.ts"; import type { CommentFields } from "./comment.ts"; import type { EventFields } from "./event.ts"; import type { InsightsResultFields } from "./insights-result.ts"; import type { PageFields } from "./page.ts"; import type { PlaceFields } from "./place.ts"; import type { PostFields } from "./post.ts"; import type { PrivacyFields } from "./privacy.ts"; import type { ProfileFields } from "./profile.ts"; import type { RTBDynamicPostFields } from "./rtb-dynamic-post.ts"; export interface PagePostFields { actions: unknown[]; admin_creator: Record; allowed_advertising_objectives: string[]; application: ApplicationFields; backdated_time: string; call_to_action: Record; can_reply_privately: boolean; child_attachments: unknown[]; comments_mirroring_domain: string; coordinates: Record; created_time: string; event: EventFields; expanded_height: number; expanded_width: number; feed_targeting: Record; from: Record; full_picture: string; height: number; icon: string; id: string; instagram_eligibility: string; is_app_share: boolean; is_eligible_for_dark_post: boolean; is_eligible_for_promotion: boolean; is_expired: boolean; is_hidden: boolean; is_inline_created: boolean; is_instagram_eligible: boolean; is_popular: boolean; is_published: boolean; is_spherical: boolean; message: string; message_tags: unknown[]; multi_share_end_card: boolean; multi_share_optimized: boolean; parent_id: string; permalink_url: string; picture: string; place: PlaceFields; privacy: PrivacyFields; promotable_id: string; promotion_status: string; properties: unknown[]; scheduled_publish_time: number; shares: Record; status_type: string; story: string; story_tags: unknown[]; subscribed: boolean; target: ProfileFields; targeting: Record; timeline_visibility: string; updated_time: string; via: Record; video_buying_eligibility: string[]; width: number; } export interface PagePostListCommentsParams { filter?: string; live_filter?: string; order?: string; since?: string; [key: string]: unknown; } export interface PagePostCreateCommentsParams { attachment_id?: string; attachment_share_url?: string; attachment_url?: string; comment?: string; comment_privacy_value?: string; feedback_source?: string; message?: string; nectar_module?: string; parent_comment_id?: Record; post_id?: string; tracking?: string; [key: string]: unknown; } export interface PagePostListInsightsParams { date_preset?: string; metric?: Record[]; period?: string; since?: string; until?: string; [key: string]: unknown; } export interface PagePostDeleteLikesParams { nectar_module?: string; tracking?: string; [key: string]: unknown; } export interface PagePostCreateLikesParams { feedback_source?: string; nectar_module?: string; tracking?: string; [key: string]: unknown; } export interface PagePostListReactionsParams { type?: string; [key: string]: unknown; } export interface PagePostUpdateParams { attached_media?: Record[]; backdated_time?: string; backdated_time_granularity?: string; composer_session_id?: string; direct_share_status?: number; explicitly_added_mentionee_ids?: number[]; feed_story_visibility?: string; is_explicit_location?: boolean; is_hidden?: boolean; is_pinned?: boolean; is_published?: boolean; message?: string; og_action_type_id?: string; og_hide_object_attachment?: boolean; og_icon_id?: string; og_object_id?: string; og_phrase?: string; og_set_profile_badge?: boolean; og_suggestion_mechanism?: string; place?: Record; privacy?: string; product_item?: Record; scheduled_publish_time?: number; should_sync_product_edit?: boolean; source_type?: string; sponsor_id?: string; sponsor_relationship?: number; tags?: number[]; text_format_preset_id?: string; timeline_visibility?: string; tracking?: string; [key: string]: unknown; } export declare function pagePostNode(client: ApiClient, id: string): { __path: string; __brand: PagePostFields; get: (opts: { fields: F; params?: Record; }) => Promise>; update: (params: PagePostUpdateParams) => Promise; delete: () => Promise; attachments: )[]>(opts: { fields: F; params?: Record; }) => Cursor, F[number]>>; comments: { __path: string; __brand: CommentFields; list: (opts: { fields: F; params?: PagePostListCommentsParams; }) => Cursor>; create: (params: PagePostCreateCommentsParams) => Promise; }; dynamicPosts: (opts: { fields: F; params?: Record; }) => Cursor>; insights: (opts: { fields: F; params?: PagePostListInsightsParams; }) => Cursor>; likes: { __path: string; __brand: ProfileFields; list: (opts: { fields: F; params?: Record; }) => Cursor>; create: (params: PagePostCreateLikesParams) => Promise; delete: (params: PagePostDeleteLikesParams) => Promise; }; reactions: (opts: { fields: F; params?: PagePostListReactionsParams; }) => Cursor>; sharedposts: (opts: { fields: F; params?: Record; }) => Cursor>; sponsorTags: (opts: { fields: F; params?: Record; }) => Cursor>; to: (opts: { fields: F; params?: Record; }) => Cursor>; }; //# sourceMappingURL=page-post.d.ts.map