import { FaceDetectionSDKConfig } from '../../types/index.js';
export interface WebcamEvents {
    onWebcamError: (error: Error, isIOS: boolean) => void;
}
export declare class WebcamManager {
    private webcamStream;
    private config;
    private events;
    constructor(config: FaceDetectionSDKConfig, events: WebcamEvents);
    /**
     * 웹캠 스트림을 시작합니다.
     */
    startWebcam(): Promise<MediaStream>;
    /**
     * 웹캠 스트림을 중지합니다.
     */
    stopWebcam(): void;
    /**
     * 웹캠 에러를 처리합니다.
     */
    private handleWebcamError;
    /**
     * 리소스를 정리합니다.
     */
    dispose(): void;
}
