export interface ModelInfo { id: string; provider: string; contextWindow: number; maxOutput: number; supportsVision: boolean; supportsFunctions: boolean; supportsJsonMode: boolean; inputPricePerMillion: number; outputPricePerMillion: number; } declare const DEFAULT_FALLBACK_CONTEXT = 128000; declare const MINIMUM_CONTEXT_LENGTH = 64000; export declare function stripProviderPrefix(model: string): string; export declare function isLocalEndpoint(baseUrl: string): boolean; export declare function estimateTokensRough(text: string): number; export declare function parseContextLimitFromError(errorMsg: string): number | null; declare const DEFAULT_CONTEXT_LENGTHS: Record; export declare function getModelInfo(modelId: string): ModelInfo; export declare function getModelContextLength(modelId: string, configContextLength?: number): number; export { DEFAULT_CONTEXT_LENGTHS, DEFAULT_FALLBACK_CONTEXT, MINIMUM_CONTEXT_LENGTH }; //# sourceMappingURL=model-metadata.d.ts.map