import { AxiosInstance } from 'axios'; import { LlamaCppCompletion, Config } from './completion.js'; export declare class LlamaCppCtodService { _axios: AxiosInstance; static createChatRequestWithJsonSchema(params: { axios?: AxiosInstance; config: Partial | (() => Promise>); talkOptions?: any; }): (messages: any[], { schema, onCancel }: any) => Promise; /** * @zh 如果你有需要特別設定 axios,請使用這方法。 * @en If you need to set axios, please use this method. */ setAxios(axios: AxiosInstance): void; /** * @zh 建立 補強/ 對話物件。 * @en Create completion object. */ createCompletion(): LlamaCppCompletion; }