import type { TaskType, TaskParams } from "../types"; export interface GrammarRequestOptions { apiKey: string; text: string; endpoint?: string; model?: string; task?: TaskType; params?: TaskParams; } export interface GrammarRequestResult { result: string; fixed: boolean; error?: boolean; } /** * Make a non-streaming request to the grammar API. * Returns the corrected text. */ export declare function grammarRequest(options: GrammarRequestOptions): Promise; //# sourceMappingURL=request.d.ts.map