export interface ExportBotOptions { home: string; botId: string; outputPath: string; includeSecrets?: boolean; sourceVersion: string; preserveWorkingDirectory?: boolean; } export interface ImportBotOptions { home: string; bundlePath: string; appId?: string; appSecret?: string; workingDirectory?: string; } export interface ImportBotResult { botId: string; databasePath: string; profilePath: string; } export interface ImportBotRollback { home: string; botId: string; originalConfig: Buffer; } export interface MoveBotOptions { sourceHome: string; targetHome: string; botId: string; apply?: boolean; sourceVersion: string; transactionId?: string; activeLifecycleId?: string; } export interface MoveBotResult { botId: string; applied: boolean; sourceHome: string; targetHome: string; recoveryDirectory?: string; } export declare function exportBotBundle(options: ExportBotOptions): Promise; export declare function importBotBundle(options: ImportBotOptions): Promise; export declare function preflightImportBotBundle(options: ImportBotOptions): Promise<{ botId: string; }>; export declare function moveBot(options: MoveBotOptions): Promise; /** Undo a completed import after the imported Engine failed its startup checks. */ export declare function rollbackImportedBot(rollback: ImportBotRollback): Promise; /** Undo a completed move after either Engine failed its startup checks. */ export declare function rollbackCompletedMove(result: MoveBotResult): Promise; export declare function recoverInterruptedImports(homePath: string): Promise; export declare function recoverInterruptedMove(sourceHomePath: string, targetHomePath: string, transactionId: string, botId: string): Promise; export declare function assertNoPendingBotTransfer(homePath: string, activeLifecycleId?: string): void;