import type { AuthProfileStore } from "../agents/auth-profiles/types.js"; import type { KlawConfig } from "../config/types.klaw.js"; import type { PluginOrigin } from "../plugins/plugin-origin.types.js"; import { type PreparedSecretsRuntimeSnapshot } from "./runtime-state.js"; import type { RuntimeWebToolsMetadata } from "./runtime-web-tools.types.js"; export type { SecretResolverWarning } from "./runtime-shared.js"; export type { PreparedSecretsRuntimeSnapshot } from "./runtime-state.js"; export declare function prepareSecretsRuntimeSnapshot(params: { config: KlawConfig; env?: NodeJS.ProcessEnv; agentDirs?: string[]; includeAuthStoreRefs?: boolean; loadAuthStore?: (agentDir?: string) => AuthProfileStore; /** Test override for discovered loadable plugins and their origins. */ loadablePluginOrigins?: ReadonlyMap; }): Promise; export declare function activateSecretsRuntimeSnapshot(snapshot: PreparedSecretsRuntimeSnapshot): void; export declare function refreshActiveSecretsRuntimeSnapshot(): Promise; export declare function getActiveSecretsRuntimeSnapshot(): PreparedSecretsRuntimeSnapshot | null; export declare function getActiveSecretsRuntimeEnv(): NodeJS.ProcessEnv; export declare function getActiveRuntimeWebToolsMetadata(): RuntimeWebToolsMetadata | null; export declare function clearSecretsRuntimeSnapshot(): void;