import type { BiometriaEmbedConfig, BiometriaEmbedInstance } from "../sdk/types";
export declare class BiometriaWidget implements BiometriaEmbedInstance {
    private host;
    private config;
    private callbacks;
    private refs;
    private sessionId;
    private entryMode;
    private availableModules;
    private theme;
    private branding;
    private selectedModule;
    private sequenceModules;
    private selectionChoice;
    private selectionIndex;
    private currentStep;
    private stream;
    private frameTimer;
    private sessionCreated;
    private cameraActive;
    private debugEnabled;
    private captureInProgress;
    private analysisInFlight;
    private latestAnalysis;
    private stableAnalysis;
    private uiMode;
    private previewImageBase64;
    private previewResult;
    private previewLoading;
    private previewGeneration;
    private pendingCaptureMetadata;
    private captureStableSince;
    private captureQueuedImage;
    private capturePreviewTimeout;
    private lastAnalysisAt;
    private framesCaptured;
    private analysisFramesSent;
    private analysisGeneration;
    private autoCaptureRequested;
    private ageResult;
    private ageProcessing;
    private analysisSocket;
    private analysisSocketReady;
    private analysisSocketOpenResolve;
    private analysisSocketOpenReject;
    private pendingAnalysisResolve;
    private pendingAnalysisReject;
    private closingAnalysisSocket;
    private defaultBrandLogoUrl;
    constructor(host?: HTMLElement);
    setConfig(config: BiometriaEmbedConfig): void;
    destroy(): void;
    getSessionId(): string;
    private render;
    private syncUI;
    private syncSelectionCardsState;
    private syncSelectionStepperState;
    private syncModuleProgressState;
    private getSelectionHintText;
    private getSelectionContinueLabel;
    private applyTheme;
    private applyBranding;
    private getEnabledModules;
    private shouldShowStepper;
    private getSequenceIndex;
    private getCurrentSelectionModule;
    private getModuleTitle;
    private getModuleDescription;
    private getHelperText;
    private getAgeHelperText;
    private getAutoCaptureCountdownText;
    private getPreviewTitle;
    private getPreviewSummary;
    private renderPreviewWarnings;
    private getPreviewWarningLabel;
    private resetCaptureHold;
    private setStep;
    private handleSelectionClick;
    private handleStepperPrev;
    private handleStepperNext;
    private handleSelectionContinue;
    private startSelectedModule;
    private backToSelection;
    private cleanupActiveModule;
    private ensureSession;
    private startCamera;
    private beginAnalysisLoop;
    private stopAnalysisLoop;
    private analyzeFrame;
    private resolveStepFromAnalysis;
    private resolveStableAnalysis;
    private openPreview;
    private handleRetakePreview;
    private handleConfirmPreview;
    private confirmPreview;
    private handleAgeRetry;
    private submitAgeEstimation;
    private sendPreview;
    private sendAgeEstimation;
    private logAnalysisDebug;
    private captureFrame;
    private getActiveVideoElement;
    private getActiveCanvasElement;
    private ensureAnalysisSocket;
    private buildAnalysisSocketUrl;
    private extractAnalysisPayload;
    private isAnalysisResult;
    private isWebSocketErrorMessage;
    private sendAnalysisFrame;
    private sendCapture;
    private normalizeApiBaseUrl;
    private rejectPendingAnalysis;
    private rejectSocketAndPending;
    private fail;
    private emitError;
    private normalizeError;
    private teardownStream;
    private teardownAnalysisSocket;
    private cleanup;
    private showSuccessScreen;
}
