import * as Core from 'cloudflaredev/core';
import { APIResource } from 'cloudflaredev/resource';
import * as UploadAPI from 'cloudflaredev/resources/zero-trust/dlp/datasets/upload';
import * as DatasetsAPI from 'cloudflaredev/resources/zero-trust/dlp/datasets/datasets';
export declare class Upload extends APIResource {
    /**
     * Prepare to upload a new version of a dataset.
     */
    create(datasetId: string, params: UploadCreateParams, options?: Core.RequestOptions): Core.APIPromise<NewVersion>;
    /**
     * Upload a new version of a dataset.
     */
    edit(datasetId: string, version: number, params: UploadEditParams, options?: Core.RequestOptions): Core.APIPromise<DatasetsAPI.Dataset>;
}
export interface NewVersion {
    max_cells: number;
    version: number;
    secret?: string;
}
export interface UploadCreateParams {
    account_id: string;
}
export interface UploadEditParams {
    /**
     * Path param:
     */
    account_id: string;
    /**
     * Body param:
     */
    body: unknown;
}
export declare namespace Upload {
    export import NewVersion = UploadAPI.NewVersion;
    export import UploadCreateParams = UploadAPI.UploadCreateParams;
    export import UploadEditParams = UploadAPI.UploadEditParams;
}
//# sourceMappingURL=upload.d.ts.map