import { AxiosResponse } from 'axios';
import { Chunk } from './types';
export interface HtApiKnowledgeBaseResponse {
    inference_id: string;
    query: string;
    chunks: Chunk[];
    has_knowledge: boolean;
    is_faithful: boolean;
    answer: string;
}
export declare class HubtypeApiService {
    private host;
    private timeout;
    constructor(host: string, timeout?: number);
    inferenceV2(authToken: string, sources: string[], instructions: string, messageId: string, memoryLength: number): Promise<AxiosResponse<HtApiKnowledgeBaseResponse>>;
    testInference(authToken: string, instructions: string, messages: any[], sources: string[]): Promise<AxiosResponse<HtApiKnowledgeBaseResponse>>;
    inferenceV1(authToken: string, question: string, sources: string[]): Promise<AxiosResponse<{
        inference_id: string;
        question: string;
        answer: string;
        has_knowledge: boolean;
        is_faithful: boolean;
        chunk_ids: string[];
    }>>;
}
