import { Storage } from '@google-cloud/storage'; import { ComKey, Item, PriKey } from '@fjell/types'; import { PathBuilder } from '../../PathBuilder'; import { FileProcessor } from '../../FileProcessor'; import { FileReference, UploadFileOptions } from '../../types/Files'; import { Options } from '../../Options'; /** * Upload a file attachment for an item */ export declare function uploadFile, S extends string, L1 extends string = never, L2 extends string = never, L3 extends string = never, L4 extends string = never, L5 extends string = never>(storage: Storage, bucketName: string, key: PriKey | ComKey, label: string, filename: string, content: Buffer, uploadOptions: UploadFileOptions | undefined, pathBuilder: PathBuilder, fileProcessor: FileProcessor, coordinate: any, options: Options): Promise;