import type { CameraConfig, FaceRecognitionConfig, SmileDetectionConfig } from "../../types/camera";
export type ProximityState = 'near' | 'far' | 'stable';
export declare class CameraSDK {
    private manager;
    private features;
    private container;
    private video;
    constructor(config: CameraConfig);
    open(): Promise<boolean>;
    isOpen(): boolean;
    close(): void;
    takePhoto(): Promise<string>;
    switchCamera(facingMode: "user" | "environment"): Promise<void>;
    startFaceRecognition(config: FaceRecognitionConfig, callback: Function): Promise<boolean>;
    stopFaceRecognition(): Promise<boolean>;
    startBodyDetect(callback: (stable: ProximityState) => void): Promise<boolean>;
    stopBodyDetect(): Promise<boolean>;
    startSmileDetection(config: SmileDetectionConfig, onDetected: () => void, onStateChanged: (data: import('../../types/camera').SmileStateData) => void): Promise<boolean>;
    stopSmileDetection(): boolean;
    destroy(): void;
}
//# sourceMappingURL=index.d.ts.map