import { LocalLLMConfig, LocalLLMProvider, LocalLLMResponse } from '../types.js'; export declare class LocalLLM { private config; constructor(config?: Partial); /** Check if the local provider is reachable. */ isAvailable(): Promise; /** Generate text locally. Falls back to deterministic stub when unreachable. */ generate(prompt: string, system?: string): Promise; /** Rough per-call cost in USD for a local model — effectively zero (electricity). */ static estimatedCostUsd(_tokens: number): number; getConfig(): LocalLLMConfig; setConfig(patch: Partial): void; private generateOllama; private fallback; } export declare function getLocalLLM(config?: Partial): LocalLLM; export declare function resetLocalLLMForTests(): void; /** Map a generic provider preference to a LocalLLMProvider. */ export declare function preferredLocalProvider(pref?: string): LocalLLMProvider; //# sourceMappingURL=local-llm.d.ts.map