import { MLKitVisionOptions } from "../"; import { MLKitCameraView, MLKitVisionResult } from "../index"; export interface MLKitImageLabelingResultLabel { text: string; confidence: number; ios?: any; android?: any; } export interface MLKitImageLabelingCloudResult extends MLKitVisionResult { labels: Array; } export interface MLKitImageLabelingOnDeviceResult extends MLKitImageLabelingCloudResult { } export interface MLKitImageLabelingOptions extends MLKitVisionOptions { /** * 0.5 by default */ confidenceThreshold?: number; } export declare function labelImageOnDevice(options: MLKitImageLabelingOptions): Promise; export declare function labelImageCloud(options: MLKitImageLabelingOptions): Promise; export declare class MLKitImageLabeling extends MLKitCameraView {}