import type { LocalCommunity } from "../local-community.js";
import type { CommunityExportRecord, ExportCommunityUserOptions } from "../../../../community/types.js";
export interface InternalExportHandle {
    exportId: string;
    controller: AbortController;
    detachUserSignal?: () => void;
    donePromise: Promise<void>;
}
export declare function cloneExportRecord(record: CommunityExportRecord): CommunityExportRecord;
export declare function exportCommunityEmbedded(community: LocalCommunity, options?: ExportCommunityUserOptions): Promise<{
    exportId: string;
}>;
export declare function cancelExportEmbedded(community: LocalCommunity, exportId: string): Promise<void>;
export declare function deleteExportRecord(community: LocalCommunity, exportId: string): Promise<void>;
export declare function loadAndPruneExportsFromKeyv(community: LocalCommunity): Promise<void>;
