import { ModalProps } from '../components/widgets/Modal'; export type ConnectedModalProps = Omit; /** * {@link Modal} bound to `useModalStore`. * * Mount this once near the root of your app. It renders whichever dialog the * store has open and resolves the store's pending promise on dismissal, which * is what lets any code `await useModalStore.getState().openConfirm(...)` * without holding a component reference. * * Resolution values follow the store's contract: `prompt` resolves to the text * or `null`, `confirm` to a boolean, `alert` to `undefined`. */ export declare const ConnectedModal: (props: ConnectedModalProps) => import("react/jsx-runtime").JSX.Element;