import { RawiCredentials, StreamingResponse } from '../shared/types.js'; import { ExecGenerationOptions, ExecGenerationResult } from './types.js'; import 'ai'; interface StreamResponseOptions { filtering?: { enabled: boolean; types?: string[]; showFiltered?: boolean; highlightFiltered?: boolean; }; } declare const streamResponse: (credentials: RawiCredentials, prompt: string, options?: StreamResponseOptions) => Promise; declare const processQuery: (credentials: RawiCredentials, prompt: string, options?: { streaming?: boolean; onChunk?: (chunk: string) => void; onComplete?: (fullResponse: string) => void; onError?: (error: Error) => void; filtering?: { enabled: boolean; types?: string[]; showFiltered?: boolean; highlightFiltered?: boolean; }; }) => Promise; declare function generateWithProvider(options: ExecGenerationOptions): Promise; export { type StreamResponseOptions, generateWithProvider, processQuery, streamResponse };