import { Storage } from '@google-cloud/storage'; import { ComKey, Coordinate, Item, LocKeyArray, PriKey, UpdateOptions } from '@fjell/types'; import { PathBuilder } from '../PathBuilder'; import { FileProcessor } from '../FileProcessor'; import { Options } from '../Options'; /** * Update or create an item in GCS */ export declare function upsert, 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, item: Partial>, locations: LocKeyArray | undefined, updateOptions: UpdateOptions | undefined, pathBuilder: PathBuilder, fileProcessor: FileProcessor, coordinate: Coordinate, options: Options): Promise;