import { HttpBaseClient } from '../HttpClient'; import { HttpBaseResponse, HttpImportJobReq, Constructor, FetchOptions, HttpImportListResponse, HttpImportListReq, HttpImportCreateReq, HttpImportCreateResponse, HttpImportProgressReq, HttpImportProgressResponse } from '../types'; /** * * @param {Constructor} Base - The base class to be extended. * @returns {class} - The extended class with additional methods for collection management. * * @method listImportJobs - Lists all import jobs. * @method createImportJobs - Creates new import jobs. * @method getImportJobProgress - Retrieves the progress of an import job. */ export declare function Import>(Base: T): { new (...args: any[]): { readonly importPrefix: string; listImportJobs(params: HttpImportListReq, options?: FetchOptions): Promise; createImportJobs(params: HttpImportCreateReq, options?: FetchOptions): Promise; getImportJobProgress(params: HttpImportProgressReq, options?: FetchOptions): Promise; /** Commit a manual import in the Uncommitted state. */ commitImportJob(params: HttpImportJobReq, options?: FetchOptions): Promise>; /** Abort an import before it commits. */ abortImportJob(params: HttpImportJobReq, options?: FetchOptions): Promise>; config: import("../types").HttpClientConfig; readonly baseURL: string; readonly authorization: string; readonly database: string; readonly timeout: number; readonly headers: { Authorization: string; Accept: string; ContentType: string; 'Accept-Type-Allow-Int64': string; }; readonly fetch: typeof fetch | ((input: any, init?: any) => Promise); _handleResponse(response: Response, url: string, decode?: ((body: string) => T) | undefined): Promise; POST(url: string, data?: Record, options?: FetchOptions | undefined, decode?: ((body: string) => T_1) | undefined, encode?: ((data: Record) => string) | undefined): Promise; GET(url: string, params?: Record, options?: FetchOptions | undefined): Promise; }; } & T;