import type { ProviderCapability } from './capabilities.js';
import type { ChatRequest, ChatResponse, LLMProvider, ProviderEmbeddingRequest, ProviderEmbeddingResult, ProviderRuntimeMetadata, ProviderRuntimeMetadataDeps } from './interface.js';
import { type OpenAICompatOptions } from './openai-compat.js';
type NativeFetch = (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
export interface LlamaCppProviderOptions extends OpenAICompatOptions {
    nativeFetch?: NativeFetch;
    fallbackProvider?: LLMProvider;
}
export declare class LlamaCppProvider implements LLMProvider {
    readonly name: string;
    readonly models: string[];
    readonly capabilities?: Partial<ProviderCapability>;
    private readonly defaultModel;
    private readonly reasoningFormat;
    private readonly nativeChatUrl;
    private readonly nativeFetch;
    private readonly fallbackProvider;
    private readonly apiKey;
    private readonly defaultHeaders?;
    constructor(opts: LlamaCppProviderOptions);
    chat(params: ChatRequest): Promise<ChatResponse>;
    embed(request: ProviderEmbeddingRequest): Promise<ProviderEmbeddingResult>;
    describeRuntime(deps: ProviderRuntimeMetadataDeps): Promise<ProviderRuntimeMetadata>;
    private chatViaNonStreamingCompat;
}
export {};
//# sourceMappingURL=llama-cpp.d.ts.map