import { type AgentDirContext } from "./core/agent-dir/agent-dir-context.js"; /** * Migrate legacy oauth.json and settings.json apiKeys to auth.json. * * @returns Array of provider names that were migrated */ export declare function migrateAuthToAuthJson(agentDir?: string): string[]; /** * Migrate sessions from ~/.catui/agent/*.jsonl to proper session directories. * * Bug in v0.30.0: Sessions were saved to ~/.catui/agent/ instead of * ~/.catui/agent/sessions//. This migration moves them * to the correct location based on the cwd in their session header. * * See: https://github.com/O-Catui/Catui/issues/320 */ export declare function migrateSessionsFromAgentRoot(agentDir?: string): void; /** * Print deprecation warnings and wait for keypress. */ export declare function showDeprecationWarnings(warnings: string[]): Promise; /** * Run all migrations. Called once on startup. * * @returns Object with migration results and deprecation warnings */ export declare function runMigrations(cwd?: string, ctx?: AgentDirContext): { migratedAuthProviders: string[]; deprecationWarnings: string[]; };