import { MastraModelGateway } from './base.js';
import type { ProviderConfig, GatewayLanguageModel } from './base.js';
export interface MastraGatewayConfig {
    apiKey?: string;
    baseUrl?: string;
    customFetch?: typeof globalThis.fetch;
}
export declare class MastraGateway extends MastraModelGateway {
    private config?;
    readonly id = "mastra";
    readonly name = "Memory Gateway";
    constructor(config?: MastraGatewayConfig | undefined);
    private getBaseUrl;
    shouldEnable(): boolean;
    fetchProviders(): Promise<Record<string, ProviderConfig>>;
    buildUrl(_modelId: string): Promise<string>;
    getApiKey(): Promise<string>;
    resolveLanguageModel({ modelId, providerId, apiKey, headers, }: {
        modelId: string;
        providerId: string;
        apiKey: string;
        headers?: Record<string, string>;
    }): GatewayLanguageModel;
}
//# sourceMappingURL=mastra.d.ts.map