import React from 'react'; export type DebouncedModalProps = { /** Whether to block interaction immediately */ blockInteraction?: boolean; /** Children to render after the alloted debounce time */ children: React.ReactElement; /** Time to debounce */ debounceMs: number; /** * Will render the `children` `debounceMs` after `isOpen` is set to `true. * Will stop rendering immediately after `isOpen` is set to `false`. */ isOpen?: boolean; }; /** * Display a modal after a debounce time. Blocks the screen from interaction immediately, * but then waits the set debounce time before rendering the modal. */ declare function DebouncedModal({ blockInteraction, children, debounceMs, isOpen, }: DebouncedModalProps): JSX.Element; export default DebouncedModal; //# sourceMappingURL=DebouncedModal.d.ts.map