export interface ModelConfig {
    name: string;
    dim: number;
    contextWindow: number;
    desc: string;
    quantized: boolean;
}
export declare const MODELS: Record<string, ModelConfig>;
export declare const EMBEDDING_STRATEGIES: readonly string[];
export declare const DEFAULT_MODEL: string;
/** @internal Used by generator.js — not part of the public barrel. */
export declare function getModelConfig(modelKey?: string): ModelConfig;
/**
 * Attempt to install a missing package.
 * In TTY environments, prompts the user for confirmation first.
 * In non-TTY environments (CI, piped stdin), installs automatically with a log message.
 * Returns true if the package was installed, false otherwise.
 * @internal Not part of the public barrel.
 */
export declare function promptInstall(packageName: string): Promise<boolean>;
/**
 * Lazy-load @huggingface/transformers.
 * If the package is missing, prompts the user to install it interactively.
 * In non-TTY environments, attempts automatic installation.
 * @internal Not part of the public barrel.
 */
export declare function loadTransformers(): Promise<unknown>;
/**
 * Dispose the current ONNX session and free memory.
 * Safe to call when no model is loaded (no-op).
 */
export declare function disposeModel(): Promise<void>;
/**
 * Generate embeddings for an array of texts.
 */
export declare function embed(texts: string[], modelKey?: string): Promise<{
    vectors: Float32Array[];
    dim: number;
}>;
//# sourceMappingURL=models.d.ts.map