import type { OrganizationExportJob, OrganizationExportJobProgress, OrganizationExportJobStage, OrganizationPortabilityExportResult } from "@rudderhq/shared";
export type ExportJobProgressUpdate = Partial<OrganizationExportJobProgress> & {
    stage: OrganizationExportJobStage;
    message: string;
};
export type ExportJobBuild = (options: {
    signal: AbortSignal;
    onProgress: (progress: ExportJobProgressUpdate) => void;
}) => Promise<OrganizationPortabilityExportResult>;
export declare function organizationExportJobService(): {
    create: (orgId: string, build: ExportJobBuild) => OrganizationExportJob;
    get: (jobId: string) => OrganizationExportJob | null;
    getResult: (jobId: string) => OrganizationPortabilityExportResult | null;
    cancel: (jobId: string) => OrganizationExportJob | null;
};
//# sourceMappingURL=export-jobs.d.ts.map