import { CodeConnectJSON } from './figma_connect';
export declare const AUTO_BATCH_THRESHOLD = 10;
type BatchComponentEntry = {
    url: string;
    source?: string;
    component?: string;
    [key: string]: any;
};
type BatchMigrationBuildResult = {
    ok: true;
    template: string;
    batchJson: {
        templateFile: string;
        components: BatchComponentEntry[];
    };
} | {
    ok: false;
    reason: string;
};
export type WriteBatchTemplateFileResult = {
    templatePath?: string;
    batchPath?: string;
    skipped: boolean;
    reason?: string;
    componentCount: number;
};
type WriteBatchTemplateFileOptions = {
    localSourcePath?: string;
    filePathsCreated?: Set<string>;
    includeProps?: boolean;
    useTypeScript?: boolean;
};
export declare function getBatchMigrationGroups(docs: CodeConnectJSON[], { batchAll, disabled, threshold, }?: {
    batchAll?: boolean;
    disabled?: boolean;
    threshold?: number;
}): Map<string, CodeConnectJSON[]>;
export declare function buildBatchMigration(docs: CodeConnectJSON[], { includeProps, useTypeScript, templateFile, }?: {
    includeProps?: boolean;
    useTypeScript?: boolean;
    templateFile?: string;
}): BatchMigrationBuildResult;
export declare function writeBatchTemplateFiles(docs: CodeConnectJSON[], outputDir: string | undefined, baseDir: string, { localSourcePath, filePathsCreated, includeProps, useTypeScript, }?: WriteBatchTemplateFileOptions): WriteBatchTemplateFileResult;
export {};
//# sourceMappingURL=migration_batch_helpers.d.ts.map