import type { PassportModuleOptions, AuthSecretConfig } from '#auth-types'; export type SecretConfigMap = { [key: string]: AuthSecretConfig; }; export interface AuthConfig { baseURL: string; config: PassportModuleOptions; secret?: SecretConfigMap; prefix: string; cookieOptions: any; } /** * Retrieves and validates authentication configuration. * @returns Authentication configuration object. * @throws An error if the authentication configuration is missing. */ export declare function getAuthConfig(): AuthConfig; /** * Validates and retrieves strategy configuration. * @param strategyName The name of the strategy to validate. * @param config The authentication configuration. * @returns The strategy configuration. * @throws An error if the strategy is invalid or not configured. */ export declare function validateStrategy(strategyName: string, config: PassportModuleOptions): import("#auth-types").PassportStrategiesOptions;