import type { ChatCompletionCreateParamsBase } from 'openai/resources/chat/completions';
interface WebLLMRequest extends ChatCompletionCreateParamsBase {
    system?: string;
    prompt?: string;
}
export interface WebLLMProxy {
    isReady(): boolean;
    getModel(): string;
    setModel(model: string): Promise<boolean>;
    generateText(request: WebLLMRequest): Promise<any>;
    initialize(options: {
        model: string;
        onProgress?: (progress: number) => void;
    }): Promise<void>;
}
declare global {
    interface Window {
        webllmProxy: WebLLMProxy;
    }
}
export {};
//# sourceMappingURL=web-llm-proxy.d.ts.map