export interface ScreenRecorderProps { /** Called when a screenshot is captured */ onScreenshot?: (dataUrl: string) => void; /** Called when a recording is finished */ onRecording?: (blob: Blob, url: string) => void; /** Upload endpoint for automatic upload */ uploadEndpoint?: string; /** Initial position */ position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left'; /** Enable webcam overlay (default: true) */ webcamOverlay?: boolean; /** Max recording duration in seconds (default: 300) */ maxDuration?: number; } /** * Floating screen recorder widget for user-triggered debug/feedback captures. * Users can take screenshots or record screen + webcam to explain behavior. * * Place this at the root of your app: * ```tsx * uploadScreenshot(img)} * onRecording={(blob) => uploadRecording(blob)} * webcamOverlay * position="bottom-right" * /> * ``` * * Or with automatic upload: * ```tsx * * ``` */ export default function ScreenRecorder({ onScreenshot, onRecording, uploadEndpoint, position, webcamOverlay, maxDuration, }: ScreenRecorderProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=ScreenRecorder.d.ts.map