import type { MastraModelGatewayInterface } from './base.js';
export declare function getGatewayId(gateway: MastraModelGatewayInterface): string;
export declare function shouldEnableGateway(gateway: MastraModelGatewayInterface): boolean;
export declare function serializeGatewayForSpan(gateway: MastraModelGatewayInterface): {
    id: string;
    name: string;
} & Record<string, unknown>;
/**
 * Find the gateway that handles a specific model ID based on gateway ID
 * Gateway ID is used as the prefix (e.g., "netlify" for netlify gateway)
 * Exception: models.dev is a provider registry and doesn't use a prefix
 */
export declare function findGatewayForModel(gatewayId: string, gateways: MastraModelGatewayInterface[]): MastraModelGatewayInterface;
//# sourceMappingURL=gateway-helpers.d.ts.map