import { IClassifier, ClassificationTypeConfig } from "./IClassifier"; import { Session } from "./Session"; import { InferClassificationUnion } from "./TypeInference"; import { ParsedLLMResponse, ResponseType } from "./ResponseTypes"; export declare abstract class AbstractClassifier implements IClassifier { protected readonly schemaTypes: T; constructor(schemaTypes: T); getClassificationTypeDefinition(): Readonly; protected abstract parseLLMResponse(response: string): { isToolCall: boolean; instruction: string | undefined; parsedLLMResponse: InferClassificationUnion; answer: string | undefined; }; protected categorizeLLMResponse(response: string): ParsedLLMResponse | null; protected extractToolCallInfo(response: string): { id?: string; name?: string; arguments?: any; originalToolCalls?: Array; }; handleLLMResponse(response: string, session: Session): ResponseType; protected tryExtractMessageType(response: string): string | undefined; protected handleParsingError(error: unknown, originalResponse: string, session: Session, instruction?: string): void; }