import { Storage } from '@google-cloud/storage'; import { Coordinate, Item, ItemQuery, LocKeyArray } from '@fjell/types'; import { PathBuilder } from '../PathBuilder'; import { FileProcessor } from '../FileProcessor'; import { Options } from '../Options'; /** * Get the first item matching a query from GCS * ⚠️ WARNING: Downloads and filters in-memory. Not suitable for large datasets. */ export declare function one, 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, query: ItemQuery | undefined, locations: LocKeyArray | [] | undefined, pathBuilder: PathBuilder, fileProcessor: FileProcessor, coordinate: Coordinate, options: Options): Promise;