import * as tf from '@tensorflow/tfjs';
import { IParams, DataType } from './types';
export { DataType } from './types';
declare class MLClassifier {
    private pretrainedModel;
    private model;
    private callbacks;
    private data;
    constructor();
    private init;
    private loaded;
    private cropAndActivateImage;
    private getData;
    getModel: () => any;
    addData: (images: tf.Tensor<tf.Rank.R3>[], labels: string[], dataType?: DataType) => Promise<void>;
    clearData: (dataType?: DataType | undefined) => Promise<void>;
    train: (params?: IParams) => Promise<import("@tensorflow/tfjs-layers/dist/base_callbacks").History>;
    predict: (data: tf.Tensor<tf.Rank.R3>) => Promise<any>;
    evaluate: (params?: IParams) => Promise<any>;
    save: (handlerOrURL?: string | undefined, params?: IParams) => Promise<any>;
}
export default MLClassifier;
