import type { ApiClient } from "@promobase/sdk-runtime"; import { Cursor } from "@promobase/sdk-runtime"; import type { AdStudyCellFields } from "./ad-study-cell.ts"; import type { AdStudyObjectiveFields } from "./ad-study-objective.ts"; import type { BusinessFields } from "./business.ts"; import type { PrivateLiftStudyInstanceFields } from "./private-lift-study-instance.ts"; import type { UserFields } from "./user.ts"; export interface AdStudyFields { business: BusinessFields; canceled_time: string; client_business: BusinessFields; cooldown_start_time: string; created_by: UserFields; created_time: string; description: string; end_time: string; id: string; measurement_contact: UserFields; name: string; observation_end_time: string; results_first_available_date: string; sales_contact: UserFields; start_time: string; type: string; updated_by: UserFields; updated_time: string; } export interface AdStudyCreateCheckpointParams { checkpoint_data: string; checkpoint_name: string; component: string; instance_id?: string; run_id?: string; [key: string]: unknown; } export interface AdStudyCreateInstancesParams { breakdown_key: Record; run_id?: string; [key: string]: unknown; } export interface AdStudyUpdateParams { cells?: Record[]; client_business?: string; confidence_level?: number; cooldown_start_time?: number; description?: string; end_time?: number; name?: string; objectives?: Record[]; observation_end_time?: number; start_time?: number; type?: string; viewers?: number[]; [key: string]: unknown; } export declare function adStudyNode(client: ApiClient, id: string): { __path: string; __brand: AdStudyFields; get: (opts: { fields: F; params?: Record; }) => Promise>; update: (params: AdStudyUpdateParams) => Promise; delete: () => Promise; cells: (opts: { fields: F; params?: Record; }) => Cursor>; createCheckpoint: (params: AdStudyCreateCheckpointParams) => Promise; instances: { __path: string; __brand: PrivateLiftStudyInstanceFields; list: (opts: { fields: F; params?: Record; }) => Cursor>; create: (params: AdStudyCreateInstancesParams) => Promise; }; objectives: (opts: { fields: F; params?: Record; }) => Cursor>; }; //# sourceMappingURL=ad-study.d.ts.map