import { Segmentation } from "../../domains/index.js"; import type { Fetcher } from "../../fetcher/index.js"; interface SegmentationApiDependencies { fetcher: Fetcher; } export interface SegmentationApi { segment: { create: (payload: Segmentation.Api.CreateSegmentPayload) => Promise; download: (payload: Segmentation.Api.DownloadSegmentPayload) => Promise; fetch: (payload: Segmentation.Api.FetchSegmentPayload) => Promise; get: (uuid: string) => Promise; all: () => Promise; remove: (uuid: string) => Promise; update: (payload: Segmentation.Api.UpdateSegmentPayload) => Promise; }; change: { download: (payload: Segmentation.Api.DownloadChangePayload) => Promise; get: (uuid: string) => Promise; list: (payload: Segmentation.Api.ListChangesPayload) => Promise; fetch: (payload: Segmentation.Api.FetchChangePayload) => Promise; }; record: { fetch: (payload: Segmentation.Api.FetchRecordPayload) => Promise; }; } export declare const buildSegmentationApi: ({ fetcher, }: SegmentationApiDependencies) => SegmentationApi; export {}; //# sourceMappingURL=index.d.ts.map