import type { BotRequest, Plugin, PluginPreRequest } from '@botonic/core';
import { KnowledgeBaseResponse, PluginKnowledgeBaseOptions } from './types';
export default class BotonicPluginKnowledgeBases implements Plugin {
    private readonly apiService;
    private readonly authToken;
    constructor(options: PluginKnowledgeBaseOptions);
    pre(_request: PluginPreRequest): Promise<void>;
    getInference(request: BotRequest, sources: string[], instructions: string, messageId: string, memoryLength: number): Promise<KnowledgeBaseResponse>;
    getTestInference(authToken: string, request: BotRequest, instructions: string, sources: string[]): Promise<KnowledgeBaseResponse>;
    getInferenceV1(authToken: string, request: BotRequest, sources: string[]): Promise<KnowledgeBaseResponse>;
    getInferenceV2(authToken: string, sources: string[], instructions: string, messageId: string, memoryLength: number): Promise<KnowledgeBaseResponse>;
    private mapApiResponse;
}
export { PluginKnowledgeBaseOptions } from './types';
