type RuntimeScope = "all" | "project" | "none";
export interface IsolatedKimiHomeOptions {
    originalHome?: string;
    projectRoot?: string;
    inheritLocalAuth?: boolean;
    skillsScope?: RuntimeScope;
    hooksScope?: RuntimeScope;
    env?: NodeJS.ProcessEnv;
}
/**
 * Create a temporary HOME directory while preserving Kimi auth and local agent
 * credentials. MCP configs are intentionally *not* synthesized inside this
 * temporary HOME: OMK runtime passes explicit --mcp-config-file arguments that
 * point at the real project .kimi/mcp.json and, for all-scope runs, the real
 * user ~/.kimi/mcp.json through OMK_ORIGINAL_HOME. This keeps Kimi from
 * reporting or depending on disposable /tmp MCP config paths.
 */
export declare function prepareIsolatedKimiHome(options?: IsolatedKimiHomeOptions): Promise<string>;
export declare function cleanupIsolatedKimiHome(tmpHome: string): Promise<void>;
export declare function resolveOriginalHome(env?: NodeJS.ProcessEnv): string;
export {};
