import * as tf from '@tensorflow/tfjs-core'; import { TNetInput } from '../dom'; import { WithFaceDetection } from '../factories/WithFaceDetection'; import { WithFaceExpressions } from '../factories/WithFaceExpressions'; import { WithFaceLandmarks } from '../factories/WithFaceLandmarks'; import { ComposableTask } from './ComposableTask'; import { ComputeAllFaceDescriptorsTask, ComputeSingleFaceDescriptorTask } from './ComputeFaceDescriptorsTasks'; import { PredictAllAgeAndGenderTask, PredictAllAgeAndGenderWithFaceAlignmentTask, PredictSingleAgeAndGenderTask, PredictSingleAgeAndGenderWithFaceAlignmentTask } from './PredictAgeAndGenderTask'; export declare class PredictFaceExpressionsTaskBase extends ComposableTask { protected parentTask: ComposableTask | Promise; protected input: TNetInput; protected extractedFaces?: (tf.Tensor3D | HTMLCanvasElement)[] | undefined; constructor(parentTask: ComposableTask | Promise, input: TNetInput, extractedFaces?: (tf.Tensor3D | HTMLCanvasElement)[] | undefined); } export declare class PredictAllFaceExpressionsTask> extends PredictFaceExpressionsTaskBase[], TSource[]> { run(): Promise[]>; withAgeAndGender(): PredictAllAgeAndGenderTask>; } export declare class PredictSingleFaceExpressionsTask> extends PredictFaceExpressionsTaskBase | undefined, TSource | undefined> { run(): Promise | undefined>; withAgeAndGender(): PredictSingleAgeAndGenderTask>; } export declare class PredictAllFaceExpressionsWithFaceAlignmentTask>> extends PredictAllFaceExpressionsTask { withAgeAndGender(): PredictAllAgeAndGenderWithFaceAlignmentTask>; withFaceDescriptors(): ComputeAllFaceDescriptorsTask>; } export declare class PredictSingleFaceExpressionsWithFaceAlignmentTask>> extends PredictSingleFaceExpressionsTask { withAgeAndGender(): PredictSingleAgeAndGenderWithFaceAlignmentTask>; withFaceDescriptor(): ComputeSingleFaceDescriptorTask>; }