import type { ApiClient } from "@promobase/sdk-runtime"; import { Cursor } from "@promobase/sdk-runtime"; import type { AlbumFields } from "./album.ts"; import type { CommentFields } from "./comment.ts"; import type { EntityAtTextRangeFields } from "./entity-at-text-range.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 { PlatformImageSourceFields } from "./platform-image-source.ts"; import type { ProfileFields } from "./profile.ts"; export interface PhotoFields { album: AlbumFields; alt_text: string; alt_text_custom: string; backdated_time: string; backdated_time_granularity: string; can_backdate: boolean; can_delete: boolean; can_tag: boolean; created_time: string; event: EventFields; from: Record; height: number; icon: string; id: string; images: PlatformImageSourceFields[]; link: string; name: string; name_tags: EntityAtTextRangeFields[]; page_story_id: string; picture: string; place: PlaceFields; position: number; source: string; target: ProfileFields; updated_time: string; webp_images: PlatformImageSourceFields[]; width: number; } export interface PhotoListCommentsParams { filter?: string; live_filter?: string; order?: string; since?: string; [key: string]: unknown; } export interface PhotoCreateCommentsParams { 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 interface PhotoListInsightsParams { date_preset?: string; metric?: Record[]; period?: string; since?: string; until?: string; [key: string]: unknown; } export interface PhotoCreateLikesParams { feedback_source?: string; nectar_module?: string; notify?: boolean; tracking?: string; [key: string]: unknown; } export declare function photoNode(client: ApiClient, id: string): { __path: string; __brand: PhotoFields; get: (opts: { fields: F; params?: Record; }) => Promise>; delete: () => Promise; comments: { __path: string; __brand: CommentFields; list: (opts: { fields: F; params?: PhotoListCommentsParams; }) => Cursor>; create: (params: PhotoCreateCommentsParams) => Promise; }; insights: (opts: { fields: F; params?: PhotoListInsightsParams; }) => Cursor>; likes: { __path: string; __brand: ProfileFields; list: (opts: { fields: F; params?: Record; }) => Cursor>; create: (params: PhotoCreateLikesParams) => Promise; }; sponsorTags: (opts: { fields: F; params?: Record; }) => Cursor>; }; //# sourceMappingURL=photo.d.ts.map