import { BaseAPIRequestFactory } from './baseapi';
import { Configuration } from '../configuration';
import { RequestContext, ResponseContext, HttpFile } from '../http/http';
import { CollectionResponseFile } from '../models/CollectionResponseFile';
import { FileActionResponse } from '../models/FileActionResponse';
import { FileUpdateInput } from '../models/FileUpdateInput';
import { ImportFromUrlInput } from '../models/ImportFromUrlInput';
import { ImportFromUrlTaskLocator } from '../models/ImportFromUrlTaskLocator';
import { SignedUrl } from '../models/SignedUrl';
export declare class FilesApiRequestFactory extends BaseAPIRequestFactory {
    archive(fileId: string, _options?: Configuration): Promise<RequestContext>;
    archiveGDPR(fileId: string, _options?: Configuration): Promise<RequestContext>;
    checkImport(taskId: string, _options?: Configuration): Promise<RequestContext>;
    doSearch(properties?: Array<string>, after?: string, before?: string, limit?: number, sort?: Array<string>, id?: string, createdAt?: Date, createdAtLte?: Date, createdAtGte?: Date, updatedAt?: Date, updatedAtLte?: Date, updatedAtGte?: Date, name?: string, path?: string, parentFolderId?: number, size?: number, height?: number, width?: number, encoding?: string, type?: string, extension?: string, url?: string, isUsableInContent?: boolean, allowsAnonymousAccess?: boolean, _options?: Configuration): Promise<RequestContext>;
    getById(fileId: string, properties?: Array<string>, _options?: Configuration): Promise<RequestContext>;
    getSignedUrl(fileId: string, size?: 'thumb' | 'icon' | 'medium' | 'preview', expirationSeconds?: number, upscale?: boolean, _options?: Configuration): Promise<RequestContext>;
    importFromUrl(importFromUrlInput: ImportFromUrlInput, _options?: Configuration): Promise<RequestContext>;
    replace(fileId: string, file?: HttpFile, charsetHunch?: string, options?: string, _options?: Configuration): Promise<RequestContext>;
    updateProperties(fileId: string, fileUpdateInput: FileUpdateInput, _options?: Configuration): Promise<RequestContext>;
    upload(file?: HttpFile, folderId?: string, folderPath?: string, fileName?: string, charsetHunch?: string, options?: string, _options?: Configuration): Promise<RequestContext>;
}
export declare class FilesApiResponseProcessor {
    archive(response: ResponseContext): Promise<void>;
    archiveGDPR(response: ResponseContext): Promise<void>;
    checkImport(response: ResponseContext): Promise<FileActionResponse>;
    doSearch(response: ResponseContext): Promise<CollectionResponseFile>;
    getById(response: ResponseContext): Promise<any>;
    getSignedUrl(response: ResponseContext): Promise<SignedUrl>;
    importFromUrl(response: ResponseContext): Promise<ImportFromUrlTaskLocator>;
    replace(response: ResponseContext): Promise<any>;
    updateProperties(response: ResponseContext): Promise<any>;
    upload(response: ResponseContext): Promise<any>;
}
