/** * Model configuration and registry for local models. * Mirrors Python SDK's voyageai/local/model_registry.py */ export interface LocalModelConfig { /** ONNX model ID on HuggingFace Hub */ onnxModelId: string; /** Default embedding dimension */ defaultDimension: number; /** Supported Matryoshka dimensions */ supportedDimensions: number[]; /** Supported output precisions */ supportedPrecisions: string[]; /** Maximum token context length */ maxTokens: number; } export declare const SUPPORTED_MODELS: Record; export declare function isLocalModel(model: string): boolean; export declare function getModelConfig(model: string): LocalModelConfig; export declare function validateDimension(config: LocalModelConfig, dimension?: number): number; export declare function validatePrecision(config: LocalModelConfig, precision?: string): string | undefined;