license import { BaseTaskLibrary , Class } from './common' ; /** ImageClassifierOptions proto instance. */ export declare interface ImageClassifierOptions { getMaxResults ( ) : number ; setMaxResults ( value ) : ImageClassifierOptions ; hasMaxResults ( ) : boolean ; getScoreThreshold ( ) : number ; setScoreThreshold ( value ) : ImageClassifierOptions ; hasScoreThreshold ( ) : boolean ; getNumThreads ( ) : number ; setNumThreads ( value ) : ImageClassifierOptions ; hasNumThreads ( ) : boolean ; } /** ClassificationResult proto instance. */ export declare interface ClassificationResult { getClassificationsList ( ) : Classification [ ] ; } /** Classification proto instance. */ export declare interface Classification { getClassesList ( ) : Class [ ] ; } /** ImageClassifier class type. */ export declare interface ImageClassifierClass { param model param options create ( model , options ? ) : Promise < ImageClassifier > ; } /** The main ImageClassifier class interface. */ export declare class ImageClassifier extends BaseTaskLibrary { /** Performs classification on the given image-like element. */ classify ( input ) ; }