import type { EmbeddingProvider } from "./embedding-provider";
export declare class LocalEmbeddingProvider implements EmbeddingProvider {
    readonly modelId: string;
    readonly maxInputTokens: number;
    private readonly model;
    private pipeline;
    private initPromise;
    private inFlight;
    private disposing;
    private disposePromise;
    private readonly inFlightWaiters;
    constructor(model?: string, maxInputTokens?: number);
    initialize(): Promise<boolean>;
    private waitForInFlightToDrain;
    private finishInFlight;
    embed(text: string, signal?: AbortSignal): Promise<Float32Array | null>;
    embedBatch(texts: string[], signal?: AbortSignal): Promise<(Float32Array | null)[]>;
    dispose(): Promise<void>;
    isLoaded(): boolean;
}
//# sourceMappingURL=embedding-local.d.ts.map