/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import { Document } from '@langchain/core/documents';
import PluginFileManagerServer from '@nocobase/plugin-file-manager';
import { ParseableFile } from '../../document-loader/types';
export declare class KimiDocumentLoader {
    private readonly fileManager;
    private readonly options;
    private readonly client;
    constructor(fileManager: PluginFileManagerServer, options: {
        apiKey?: string;
        baseURL?: string;
    });
    load(file: ParseableFile): Promise<Document[]>;
    private parseByApi;
    private deleteRemoteFile;
    private formatApiError;
    private createClient;
}
