import { View } from 'react-native'; import type { ZestUIComponentProps } from '../../types'; import type { TransitionStatus } from '../../internals/useTransitionStatus'; /** * A container for the dialog contents. * Renders a ``. */ export declare function DialogPopup(componentProps: DialogPopup.Props): import("react").ReactElement>; export interface DialogPopupState { /** * Whether the dialog is currently open. */ open: boolean; /** * The transition status of the dialog: `'starting'` as it opens (auto-clears * to `undefined` after one frame), `'ending'` once it is closing. */ transitionStatus: TransitionStatus; /** * Whether this dialog is rendered inside another dialog's tree. */ nested: boolean; /** * Whether a dialog nested inside this one is open — the cue to scale or dim * this popup, which the web version drives with a CSS variable. */ nestedDialogOpen: boolean; /** * How many dialogs nested inside this one are currently open. A count rather * than the boolean above, for a stack that steps per level (e.g. nested * drawers receding a fixed amount each). */ nestedDialogCount: number; } export interface DialogPopupProps extends ZestUIComponentProps { } export declare namespace DialogPopup { type State = DialogPopupState; type Props = DialogPopupProps; } //# sourceMappingURL=DialogPopup.d.ts.map