import { CodeConnectJSON } from '../connect/figma_connect';
export declare function writeTemplateFile(doc: CodeConnectJSON, outputDir: string | undefined, baseDir: string, localSourcePath?: string): {
    outputPath: string;
    skipped: boolean;
};
export declare function migrateTemplateToUseServerSideHelpers(template: string): string;
export declare function addId(template: string, id: string): string;
/**
 * Migrates V1 templates to V2 API.
 *
 * This performs safe, incremental transformations. The following patterns
 * are intentionally NOT migrated as they're still supported in V2:
 *
 * - .__properties__.children() - no direct V2 equivalent, still supported
 * - __props metadata building pattern - still valid JavaScript
 * - __renderWithFn__() - complex transformation, still supported
 *
 * These may be addressed in future migrations.
 */
export declare const migrateV1TemplateToV2: (template: string) => string;
//# sourceMappingURL=migration_helpers.d.ts.map