import type { Connection } from '../providers/types.js'; export declare const CONFIG_FILE_NAME = "secrets.yaml"; export declare function secretsHome(): string; export declare function userHome(): string; export declare function defaultSecretsHome(): string; export declare function ensureRootIgnored(root: string): void; export declare function legacySecretsHomes(): string[]; export declare function cacheDir(): string; export declare function dataDir(): string; export declare function helpersDir(): string; export declare function backupsDir(): string; export interface AgentConfig { auto?: boolean; holdMs?: number; durable?: boolean; } export interface SecretsConfig { backend?: 'keychain' | 'file' | 'vault'; policy?: 'always' | 'hold' | 'daily'; agent?: AgentConfig; } export interface Config { secrets?: SecretsConfig; connections?: Record; } export declare function configPath(): string; export declare function readConfig(): Config; export declare function writeConfigValue(keyPath: string[], value: unknown): void;