license import { BaseTaskLibrary , Category } from './common' ; /** Classification options to identify input and ouptut tensors of the model. */ export declare interface NLClassifierOptions { inputTensorIndex : number ; outputScoreTensorIndex : number ; outputLabelTensorIndex : number ; inputTensorName : string ; outputScoreTensorName : string ; outputLabelTensorName : string ; } /** NLClassifier class type. */ export declare interface NLClassifierClass { param model param options create ( model , options ) : Promise < NLClassifier > ; } /** The main NLClassifier class interface. */ export declare interface NLClassifier extends BaseTaskLibrary { /** Performs classification on a string input, returns classified results. */ classify ( input ) : Category [ ] | undefined ; }