import { ConduitModule } from '../../classes/index.js'; import { DeleteFileResponse, FileByUrlResponse, FileResponse, GetFileDataResponse, GetFileUrlResponse, StorageDefinition } from '../../protoUtils/storage.js'; import { AuthzOptions } from '../../types'; import { CreateFileByURLOptions, CreateFileOptions, UpdateFileByURLOptions, UpdateFileOptions } from './types'; export declare class Storage extends ConduitModule { private readonly moduleName; constructor(moduleName: string, url: string, grpcToken?: string); getFile(id: string, userId?: string, scope?: string): Promise; getFile(id: string, options?: AuthzOptions): Promise; getFileUrl(id: string, userId?: string, scope?: string): Promise; getFileUrl(id: string, options?: AuthzOptions): Promise; getFileData(id: string, userId?: string, scope?: string): Promise; getFileData(id: string, options?: AuthzOptions): Promise; createFile(name: string | undefined, data: string, folder?: string, container?: string, mimeType?: string, isPublic?: boolean, userId?: string, scope?: string, alias?: string): Promise; createFile(name: string | undefined, data: string, options?: CreateFileOptions): Promise; updateFile(id: string, data: string, name?: string, folder?: string, container?: string, mimeType?: string, userId?: string, scope?: string, alias?: string): Promise; updateFile(id: string, data: string, options?: UpdateFileOptions): Promise; deleteFile(id: string, userId?: string, scope?: string): Promise; deleteFile(id: string, options?: AuthzOptions): Promise; createFileByUrl(name: string | undefined, folder?: string, container?: string, mimeType?: string, size?: number, isPublic?: boolean, userId?: string, scope?: string, alias?: string): Promise; createFileByUrl(name: string | undefined, options?: CreateFileByURLOptions): Promise; updateFileByUrl(id: string, name?: string, folder?: string, container?: string, mimeType?: string, size?: number, userId?: string, scope?: string, alias?: string): Promise; updateFileByUrl(id: string, options?: UpdateFileByURLOptions): Promise; }