import type { CameraFeature, CameraCore, FaceRecognitionConfig } from "../../types/camera";
export declare class FaceFeature implements CameraFeature {
    name: string;
    isInitialized: boolean;
    private interval;
    private canvas;
    constructor();
    initFaceAPI(): Promise<void>;
    startFaceRecognition(camera: CameraCore, config: FaceRecognitionConfig, callback: Function): Promise<boolean>;
    private expandBox;
    private cropFaceToBase64;
    private cropFaceToBlob;
    stopFaceRecognition(): Promise<boolean>;
    destroy(): void;
}
//# sourceMappingURL=faceFeature.d.ts.map