import type { FacebookPost, PostExpiration } from "../types/facebookpost.js"; import { type BatchableRequest, type GetNode } from "../types/shared.js"; import { type FacebookMedia } from "../types/facebookmedia.js"; import { type CreateResourceParams } from "../client.js"; export type Expire = (time: number, type: PostExpiration["type"]) => BatchableRequest; export type GetPost = GetNode; export declare function createPostResource({ id, http }: CreateResourceParams): { expire: Expire; get: GetPost; comments: { list: import("./comment/CommentResource.js").GetComments; create: import("./comment/CommentResource.js").CreateComment; }; insights: { list: >(query: import("../client.js").InsightQuery<{ postMediaView: { name: "post_media_view"; values: { value: number; endTime?: string; }[]; }; postTotalMediaViewUnique: { name: "post_total_media_view_unique"; values: { value: number; endTime?: string; }[]; }; postImpressions: { name: "post_impressions"; values: { value: number; endTime?: string; }[]; }; postImpressionsUnique: { name: "post_impressions_unique"; values: { value: number; endTime?: string; }[]; }; postImpressionsFan: { name: "post_impressions_fan"; values: { value: number; endTime?: string; }[]; }; postImpressionsFanUnique: { name: "post_impressions_fan_unique"; values: { value: number; endTime?: string; }[]; }; postClicks: { name: "post_clicks"; values: { value: number; endTime?: string; }[]; }; postClicksByType: { name: "post_clicks_by_type"; values: { value: { [x: string]: number; }; endTime?: string; }[]; }; postActivityByActionType: { name: "post_activity_by_action_type"; values: { value: { [x: string]: number; }; endTime?: string; }[]; }; postActivityByActionTypeUnique: { name: "post_activity_by_action_type_unique"; values: { value: { [x: string]: number; }; endTime?: string; }[]; }; postReactionsLikeTotal: { name: "post_reactions_like_total"; values: { value: number; endTime?: string; }[]; }; postReactionsLoveTotal: { name: "post_reactions_love_total"; values: { value: number; endTime?: string; }[]; }; postReactionsWowTotal: { name: "post_reactions_wow_total"; values: { value: number; endTime?: string; }[]; }; postReactionsHahaTotal: { name: "post_reactions_haha_total"; values: { value: number; endTime?: string; }[]; }; postReactionsSorryTotal: { name: "post_reactions_sorry_total"; values: { value: number; endTime?: string; }[]; }; postReactionsAngerTotal: { name: "post_reactions_anger_total"; values: { value: number; endTime?: string; }[]; }; postReactionsByTypeTotal: { name: "post_reactions_by_type_total"; values: { value: { [x: string]: number; }; endTime?: string; }[]; }; postVideoViews: { name: "post_video_views"; values: { value: number; endTime?: string; }[]; }; postVideoViewsUnique: { name: "post_video_views_unique"; values: { value: number; endTime?: string; }[]; }; postVideoViews15s: { name: "post_video_views_15s"; values: { value: number; endTime?: string; }[]; }; postVideoViews60sExcludesShorter: { name: "post_video_views_60s_excludes_shorter"; values: { value: number; endTime?: string; }[]; }; postVideoViewsSoundOn: { name: "post_video_views_sound_on"; values: { value: number; endTime?: string; }[]; }; postVideoViewsLive: { name: "post_video_views_live"; values: { value: number; endTime?: string; }[]; }; postVideoLength: { name: "post_video_length"; values: { value: number; endTime?: string; }[]; }; postVideoAvgTimeWatched: { name: "post_video_avg_time_watched"; values: { value: number; endTime?: string; }[]; }; postVideoViewTime: { name: "post_video_view_time"; values: { value: number; endTime?: string; }[]; }; postVideoCompleteViews30sUnique: { name: "post_video_complete_views_30s_unique"; values: { value: number; endTime?: string; }[]; }; postVideoRetentionGraph: { name: "post_video_retention_graph"; values: { value: { [x: string]: number; }; endTime?: string; }[]; }; postVideoSocialActionsCountUnique: { name: "post_video_social_actions_count_unique"; values: { value: number; endTime?: string; }[]; }; postVideoViewsByDistributionType: { name: "post_video_views_by_distribution_type"; values: { value: { [x: string]: number; }; endTime?: string; }[]; }; postVideoViewsByLiveStatus: { name: "post_video_views_by_live_status"; values: { value: { [x: string]: number; }; endTime?: string; }[]; }; postVideoViewTimeByDistributionType: { name: "post_video_view_time_by_distribution_type"; values: { value: { [x: string]: number; }; endTime?: string; }[]; }; postVideoViewTimeByAgeBucketAndGender: { name: "post_video_view_time_by_age_bucket_and_gender"; values: { value: { [x: string]: number; }; endTime?: string; }[]; }; postVideoViewTimeByRegionId: { name: "post_video_view_time_by_region_id"; values: { value: { [x: string]: number; }; endTime?: string; }[]; }; postVideoViewTimeByCountryId: { name: "post_video_view_time_by_country_id"; values: { value: { [x: string]: number; }; endTime?: string; }[]; }; contentMonetizationEarnings: { name: "content_monetization_earnings"; values: { value: { currency: "USD"; microAmount: number; }; endTime?: string; }[]; }; }, F>) => BatchableRequest>; }; }; export type GetMedia = GetNode; export declare function createMediaResource({ http, id }: CreateResourceParams): { get: GetMedia; }; export type CreateMediaResource = typeof createMediaResource; //# sourceMappingURL=PostResource.d.ts.map