/// /// import { Config, EdgeImpulseConfig } from './config'; import { ExportInputBoundingBox, ExportUploaderInfoFileCategory, ExportUploaderInfoFileLabel } from '../shared/bounding-box-file-types'; export declare const EXTENSION_MAPPING: { [k: string]: string; }; export declare const VALID_EXTENSIONS: string[]; export declare function upload(opts: { projectId: number; filename: string; buffer: Buffer; label: { type: 'infer'; } | ExportUploaderInfoFileLabel; allowDuplicates: boolean; apiKey: string; config: EdgeImpulseConfig; category: ExportUploaderInfoFileCategory | undefined; boundingBoxes: ExportInputBoundingBox[] | undefined; metadata: { [k: string]: string; } | undefined; addDateId: boolean; attachments: ({ filename: string; buffer: Buffer; }[]) | undefined; configFactory: Config; }): Promise;