export = secretsProxyFn; /** * @typedef {{ * type: 'vault' | 'aws' * }} SecretFetchOptions */ /** * @typedef {[string]} SecretFetchPathNoOptions */ /** * @typedef {[string, SecretFetchOptions]} SecretFetchPathWithOptions */ /** * @function secretsProxyFn * @param {string} [path] Path to the secrets of the universe, or any other key you may be seeking. * @param {SecretFetchOptions} [options] * @return {Promise>} */ /** * @function secretsProxyFn * @param {SecretFetchOptions} [options] * @return {Promise>} */ declare function secretsProxyFn(...args: any[]): Promise>; declare namespace secretsProxyFn { export { vault, aws, SecretFetchOptions, SecretFetchPathNoOptions, SecretFetchPathWithOptions }; } declare function vault(key?: string, options?: {}): Promise; declare function aws(key?: string, options?: {}): Promise; type SecretFetchOptions = { type: 'vault' | 'aws'; }; type SecretFetchPathNoOptions = [string]; type SecretFetchPathWithOptions = [string, SecretFetchOptions]; //# sourceMappingURL=index.d.ts.map