UNPKG

@mastra/core

Version:
13 lines 704 B
import type { GatewayAuthRequest, GatewayAuthResult, MastraModelGatewayInterface } from './gateways/base.js'; export type ResolveModelAuthArgs = { gateway: MastraModelGatewayInterface; request: GatewayAuthRequest; explicit?: Pick<GatewayAuthResult, 'apiKey' | 'headers' | 'bearerToken'>; }; /** * @deprecated This function is deprecated and will be removed in a future release. * Auth resolution is now handled internally by {@link ModelRouterLanguageModel}. * This function is kept for backward compatibility. */ export declare function resolveModelAuth({ gateway, request, explicit, }: ResolveModelAuthArgs): Promise<GatewayAuthResult>; //# sourceMappingURL=model-auth-resolver.d.ts.map