//#region src/vitest/setup.d.ts /** * Extract a vault store from a secrets-shaped value. * * `defineSecretManager()` returns `{ vaults, options, get, getAll }` (get/getAll * are non-enumerable). When that shape is present, the actual vaults live * under `.vaults`. Otherwise fall back to treating the object itself as the * vault map (for plain object configs). * @param secrets - Value from `appConfig.secrets` or `config.secrets` * @returns Vault store, or null if the value is unusable */ export declare function extractVaultStore(secrets: unknown): Record> | null; /** * Load and parse secrets from a tailor.config.ts file. * * Returns a vault store on success, or `null` on any failure (missing config, * import failure, missing/invalid secrets shape). Errors are swallowed so a * misconfigured project still boots — the user can set secrets manually via * `mockSecretmanager().setSecrets()`. * @param configPath - Absolute path to tailor.config.ts * @returns Vault store keyed by vault name, or null if unavailable */ export declare function loadSecretsFromConfig(configPath: string): Promise> | null>; //#endregion