import type { ContentGenerator } from '../contentGenerator.js'; import type { Config } from '../../config/config.js'; import { type OpenAICompatibleProvider } from './provider/index.js'; import type { CountTokensParameters, CountTokensResponse, EmbedContentParameters, EmbedContentResponse, GenerateContentParameters, GenerateContentResponse } from '@google/genai'; import { ContentGenerationPipeline } from './pipeline.js'; import type { ContentGeneratorConfig } from '../contentGenerator.js'; export declare class OpenAIContentGenerator implements ContentGenerator { protected pipeline: ContentGenerationPipeline; constructor(contentGeneratorConfig: ContentGeneratorConfig, cliConfig: Config, provider: OpenAICompatibleProvider); /** * Hook for subclasses to customize error handling behavior * @param error The error that occurred * @param request The original request * @returns true if error logging should be suppressed, false otherwise */ protected shouldSuppressErrorLogging(_error: unknown, _request: GenerateContentParameters): boolean; generateContent(request: GenerateContentParameters, userPromptId: string): Promise; generateContentStream(request: GenerateContentParameters, userPromptId: string): Promise>; countTokens(request: CountTokensParameters): Promise; embedContent(request: EmbedContentParameters): Promise; useSummarizedThinking(): boolean; }