import { type ProviderConnectionStore } from "@pie-lab/storage";
import { AuthStorage } from "../auth-storage.ts";
export type GatewayOpenAiAudioKeySource = "VOICE_TOOLS_OPENAI_KEY" | "auth.json:openai-audio" | "OPENAI_API_KEY" | "provider-connections" | "auth.json";
export declare const OPENAI_AUDIO_AUTH_PROVIDER = "openai-audio";
export declare const OPENAI_AUTH_PROVIDER = "openai";
export interface GatewayOpenAiAudioCredentials {
    apiKey: string;
    source: GatewayOpenAiAudioKeySource;
    connectionId?: string;
}
export interface ResolveGatewayOpenAiAudioCredentialsOptions {
    env?: NodeJS.ProcessEnv;
    agentDir?: string;
    providerConnectionStore?: ProviderConnectionStore;
    authStorage?: AuthStorage;
}
export declare function resolveGatewayOpenAiAudioCredentials(envOrOptions?: NodeJS.ProcessEnv | ResolveGatewayOpenAiAudioCredentialsOptions): Promise<GatewayOpenAiAudioCredentials | undefined>;
export declare function describeGatewayOpenAiAudioCredentials(credentials: GatewayOpenAiAudioCredentials): string;
//# sourceMappingURL=audio-credentials.d.ts.map