import type { KnownProvider } from "./types.ts";
/**
 * Find configured environment variables that can provide an API key for a provider.
 *
 * This only reports actual API key variables. It intentionally excludes ambient
 * credential sources such as AWS profiles, AWS IAM credentials, and Google
 * Application Default Credentials.
 */
export declare function findEnvKeys(provider: KnownProvider): string[] | undefined;
export declare function findEnvKeys(provider: string): string[] | undefined;
/**
 * Get API key for provider from known environment variables, e.g. OPENAI_API_KEY.
 *
 * Will not return API keys for providers that require OAuth tokens.
 */
export declare function getEnvApiKey(provider: KnownProvider): string | undefined;
export declare function getEnvApiKey(provider: string): string | undefined;
//# sourceMappingURL=env-api-keys.d.ts.map