import type { ApiClient } from "@promobase/sdk-runtime"; import { Cursor } from "@promobase/sdk-runtime"; import type { CommentFields } from "./comment.ts"; import type { InsightsResultFields } from "./insights-result.ts"; import type { UserFields } from "./user.ts"; export interface IGMediaForIGOnlyAPIFields { alt_text: string; caption: string; comments_count: number; current_live_viewer_count: number; id: string; is_comment_enabled: boolean; is_shared_to_feed: boolean; like_count: number; media_product_type: string; media_type: string; media_url: string; owner: UserFields; permalink: string; shortcode: string; thumbnail_url: string; timestamp: string; username: string; } export interface IGMediaForIGOnlyAPICreateCommentsParams { message?: string; [key: string]: unknown; } export interface IGMediaForIGOnlyAPIListInsightsParams { breakdown?: string[]; metric: string[]; period?: string[]; [key: string]: unknown; } export interface IGMediaForIGOnlyAPIUpdateParams { comment_enabled?: boolean; [key: string]: unknown; } export declare function iGMediaForIGOnlyAPINode(client: ApiClient, id: string): { __path: string; __brand: IGMediaForIGOnlyAPIFields; get: (opts: { fields: F; params?: Record; }) => Promise>; update: (params: IGMediaForIGOnlyAPIUpdateParams) => Promise; children: )[]>(opts: { fields: F; params?: Record; }) => Cursor, F[number]>>; comments: { __path: string; __brand: CommentFields; list: (opts: { fields: F; params?: Record; }) => Cursor>; create: (params: IGMediaForIGOnlyAPICreateCommentsParams) => Promise>; }; insights: (opts: { fields: F; params?: IGMediaForIGOnlyAPIListInsightsParams; }) => Cursor>; }; //# sourceMappingURL=ig-media-for-ig-only-api.d.ts.map