import { AxiosInstance } from 'axios';
import { IDataSet, IDataSetParams, IDataSetResult, IVersion, IAM, ILabel, ISample, IMarkType, IProxy, Deduplication, sampleParams, Category, ISampleTextParams, ILlmSample, ISubsectionParams, ISubsectionSample, ILlmSampleSubsection, GenerateParams, GenerateRecord, ILlmSampleV2, ILlmSampleV2ListParams, IPostLlmSampleV2, ILlmContent, ILlmSamplePostParams, Addition, ILabelList, SampleQueryParams, Label, CreateLabelParams, EditLabelParams, IPicsZipResult, IPrelabelTaskParams, IPreLabelTask, ISampleFileParams, IGetDatasetParams, IDataSetCoptTask, IDataSetCoptTaskParams } from './model';
import { ApiErrorHandler, BaseApi, Paged, PageQueryParams } from '..';
export declare class CVForceDatahubApi extends BaseApi {
    constructor(axiosInstance?: AxiosInstance, errorHandler?: ApiErrorHandler);
    getDatasets(params: IGetDatasetParams): Promise<IDataSetResult>;
    postDatasets(params: IDataSetParams): Promise<IDataSet>;
    getDatasetsId(id: string): Promise<IDataSet>;
    delDatasetsId(id: string): Promise<IDataSet>;
    patchDatasetsId(id: string, params: IDataSetParams): Promise<IDataSet>;
    getDatasetsIdVersions(id: string, pageNo: number, pageSize: number): Promise<Paged<IVersion>>;
    getDatasetsIdVersionsVidNextno(id: string): Promise<{
        no: string;
    }>;
    getS3Iam(datasetId: string, publicBucket?: boolean): Promise<IAM>;
    postDatasetsIdVersions(id: string, params: any): Promise<any>;
    patchDatasetsIdVersionsVid(id: string, vid: string, params: {
        description?: string;
    }): Promise<any>;
    getDatasetsIdVersionsVid(id: string, vid: string): Promise<IVersion>;
    delDatasetsIdVersionsVid(id: string, vid: string): Promise<IVersion>;
    getDatasetsIdVersionsNo(id: string, params?: {
        queryUnsupervised?: boolean;
        querySupervised?: boolean;
    }): Promise<IVersion[]>;
    listDatasetsIdLabels(id: string, params: PageQueryParams): Promise<Paged<ILabelList>>;
    getDatasetsIdVersionsVidLabelcount(id: string, vid: string, params?: {
        label?: "allcode" | string;
        searchName?: string;
    }): Promise<ILabel[]>;
    getDatasetsIdVersionsVidSamples(id: string, vid: string, params: SampleQueryParams): Promise<Paged<ISample>>;
    updateSamples(datasetId: string, vid: string, samples: ISample[] | ISampleTextParams[] | ISampleFileParams[], confirmStatus?: number): Promise<string[]>;
    delDatasetsIdVersionsVidSamplesId(id: string, vid: string, sid: string): Promise<string[]>;
    delDatasetsIdVersionsVidLlmSamplesId(id: string, vid: string, sid: string): Promise<string[]>;
    getDatasetsIdVersionsVidSsamplesSid(id: string, vid: string, sid: string): Promise<{
        labels: {
            uuid: string;
            id: string;
            label: string;
            box: any;
            shapeType?: string | undefined;
            type?: string | undefined;
            catagoryId?: string | undefined;
            words?: string | undefined;
            cell?: {
                rowIdx: number;
                colIdx: number;
                rowSpan: number;
                colSpan: number;
            } | undefined;
        }[];
        id: string;
        versionId: string;
        fileUrl: string;
        fileKey: string;
        createdAt: string;
        updatedAt: string;
        creator: string;
        modifier: string;
        ocrJson: any;
        textContent: import('./model').ITextContent;
        fileName: string;
        charactersCount: number;
        fileSize: number;
        statusSubsection: import('./model').SubsectionStatus;
        countSubsection: number;
        recordId: string;
        metadata?: {
            charactersCount?: string | undefined;
            originKey?: string | undefined;
            fileName: string;
            oriUrl: string;
        } | undefined;
        sampleFileName: {
            name: string;
            oriSize: number;
            originalName: string;
        };
        operator: import('./model').IOperator;
        confirmStatus?: number | undefined;
    }>;
    getImportInfo(): Promise<{
        token: string;
    }>;
    getOptionsMarkType(): Promise<IMarkType[]>;
    getOptionsOcrMarkTmpl(): Promise<IMarkType[]>;
    getOptionsLlmMarkTmpl(): Promise<IMarkType[]>;
    getOptionsLlmResponseSort(): Promise<IMarkType[]>;
    getOptionsImgproxy(): Promise<IProxy>;
    getDeduplication(md5s: string[], datasetId: string): Promise<Deduplication>;
    postDatasetsIdVersionsVidSamples(id: string, vid: string, params: sampleParams): Promise<string[]>;
    patchDatasetsIdVersionsVidSamples(id: string, vid: string, params: sampleParams): Promise<{
        data: string[];
    }>;
    listCategory(datasetId: string): Promise<Category[]>;
    postCategory(datasetId: string, name: string): Promise<Category>;
    updateCategory(datasetId: string, id: string, name: string): Promise<Category>;
    deleteCategory(datasetId: string, id: string): Promise<Category>;
    postDatasetIdVersionIdFilesDeduplication(id: string, vid: string, params: {
        names?: string[];
        md5sum?: string[];
    }): Promise<Deduplication>;
    postDatasetIdVersionIdLlmSamples(id: string, vid: string, params: ILlmSamplePostParams): Promise<ILlmSample[]>;
    patchDatasetIdVersionIdLlmSampleId(id: string, vid: string, sid: string, params: ILlmSamplePostParams): Promise<ILlmSample[]>;
    postLlmSamplesSubsection(id: string, vid: string, params: ISubsectionParams): Promise<ISubsectionSample[]>;
    generatellmSamplesSubsection(datasetId: string, versionId: string, params: {
        fileUrls: string[];
        regex: string;
        sampleId: string;
    }): Promise<{
        url: string;
        message: string;
        isSuccess: boolean;
    }[]>;
    listSubsection(datasetId: string, versionId: string, sampleId: string, params: PageQueryParams): Promise<Paged<ILlmSampleSubsection>>;
    postSubsection(datasetId: string, versionId: string, sampleId: string, params: {
        content: string;
        sectionNo: number;
        addDirect: "up" | "down";
        additionInfo?: {
            key: string;
            value: string;
            sort: number;
        }[];
    }): Promise<ILlmSampleSubsection>;
    updateSubsection(datasetId: string, versionId: string, sampleId: string, subsectionId: string, params: {
        content?: string;
        additionInfo?: Addition[];
    }): Promise<ILlmSampleSubsection>;
    deleteSubsection(datasetId: string, versionId: string, sampleId: string, subsectionId: string): Promise<ILlmSampleSubsection>;
    llmSupervisedRecordGenerate(params: GenerateParams): Promise<string>;
    llmSupervisedRecordAbordTask(params: {
        rid: string;
    }): Promise<string>;
    llmSupervisedRecordPauseTask(params: {
        rid: string;
    }): Promise<string>;
    getLlmSupervisedRecord(id: string): Promise<GenerateRecord>;
    getDatasetsIdVersionsIdLlmSamplesV2(datasetId: string, versionId: string, params: ILlmSampleV2ListParams): Promise<Paged<ILlmSampleV2>>;
    postDatasetsIdVersionsIdLlmSamplesV2(datasetId: string, versionId: string, params: {
        content?: ILlmContent[];
        annotations?: {
            document?: string;
        };
        fileUrls?: string[];
    }): Promise<IPostLlmSampleV2>;
    getDatasetsIdVersionsIdLlmSamplesV2Sid(datasetId: string, versionId: string, sampleId: string): Promise<ILlmSampleV2>;
    patchDatasetsIdVersionsIdLlmSamplesV2Sid(datasetId: string, versionId: string, sampleId: string, params: {
        content: ILlmContent[];
        annotations: {
            document?: string;
        };
    }): Promise<ILlmSampleV2>;
    delDatasetsIdVersionsIdLlmSamplesV2Sid(datasetId: string, versionId: string, sampleId: string): Promise<ILlmSampleV2>;
    getDatasetsIdVersionsIdExportLLMSamples(id: string, vid: string): Promise<import('axios').AxiosResponse<Blob, any> | undefined>;
    llmSamplesSubsectionView(datasetId: string, versionId: string, sampleId: string, params: {
        regex: string;
    }): Promise<string[]>;
    listLabels(datasetId: string, params: PageQueryParams): Promise<Paged<Label>>;
    postLabels(datasetId: string, params: CreateLabelParams): Promise<string[]>;
    patchLabel(datasetId: string, labelId: string, params: EditLabelParams): Promise<Label>;
    deleteLabel(datasetId: string, labelId: string): Promise<Label>;
    postUploadPicsZip(id: string, vid: string, params: {
        zipUrls: string[];
        type?: number;
    }): Promise<any>;
    checkFileResult(id: string, vid: string, params: {
        taskId: string;
    }, interval?: number, onProgress?: (progress: number) => void): Promise<string | null>;
    getUploadPicsZipResult(id: string, vid: string, params?: {
        taskId: string;
    }): Promise<IPicsZipResult>;
    getUploadabort(id: string, vid: string, params: {
        taskId: string;
    }): Promise<IPicsZipResult>;
    postPreLabelTask(id: string, vid: string, params: IPrelabelTaskParams): Promise<string>;
    getPreLabelTask(id: string, vid: string): Promise<IPreLabelTask[]>;
    delPreLabelTask(id: string, vid: string, tid: string): Promise<unknown>;
    getAllConfirmSamples(id: string, vid: string): Promise<unknown>;
    getDataSetCopyTask(id: string, vid: string): Promise<IDataSetCoptTask>;
    postDataSetCopyTask(id: string, vid: string, params: IDataSetCoptTaskParams): Promise<unknown>;
    deleteDatasetCopyTask(id: string, vid: string, params: {
        taskId: string;
    }): Promise<unknown>;
}
export * from './model';
