/**
 * OpenAI-compatible API endpoints for ggml-llm (EXPERIMENTAL)
 * Provides /oai-compat/v1/chat/completions and /oai-compat/v1/models endpoints
 *
 * Enable via TOML config: [openai_compat] enabled = true
 *
 * Note: This feature is experimental and may change in future versions.
 */
import type { EventStream, Config } from '../types';
/**
 * Stream an OpenAI-compatible chat completion (SSE) from the backend stream.
 * Mirrors collectChatCompletion (the non-streaming path).
 */
export declare function streamChatCompletion(completionStream: ReadableStream<EventStream>, completionId: string, created: number, modelId: string, includeUsage: boolean): AsyncGenerator<{
    readonly data: string;
}, void, unknown>;
export default function factory({ global: globalConfig }: Config): import("../types").ButtressApp;
