import type { Api, Model } from "@earendil-works/pi-ai/compat";
import type { AuthStatus, AuthStorage } from "./auth-storage.ts";
import type { ProviderRequestConfig, ResolvedRequestAuth } from "./model-registry-types.ts";
export declare function getModelRequestAuth(model: Model<Api>, authStorage: AuthStorage, providerRequestConfigs: Map<string, ProviderRequestConfig>, modelRequestHeaders: Map<string, Record<string, string>>): Promise<ResolvedRequestAuth>;
export declare function getProviderAuthStatusFromConfig(provider: string, authStorage: AuthStorage, providerRequestConfigs: Map<string, ProviderRequestConfig>): AuthStatus;
export declare function getApiKeyForProviderFromConfig(provider: string, authStorage: AuthStorage, providerRequestConfigs: Map<string, ProviderRequestConfig>): Promise<string | undefined>;
//# sourceMappingURL=model-registry-auth.d.ts.map