import * as react from 'react'; import { ReactNode, SyntheticEvent, ComponentProps } from 'react'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { InternalProps, StyledComponentProps, OmitInternalProps } from '../../shared/src/types.js'; import '../../styling/src/styled-system/props-handler.js'; import 'csstype'; import '../../styling/src/useResponsiveValue.js'; import '../../styling/src/BreakpointProvider.js'; import '../../shared/src/type-fest.js'; import '../../styling/src/styled-system/StylingContext.js'; declare const DefaultElement = "div"; interface InnerDialogTriggerProps extends InternalProps, Omit, "zIndex"> { /** * React children. */ children: ReactNode; /** * The initial value of open when in auto controlled mode. */ defaultOpen?: boolean; /** * Whether or not the dialog should close on outside interactions. */ dismissable?: boolean; /** * Called when the open state change. * @param {SyntheticEvent} event - React's original event. * @param {boolean} isOpen - Indicate if the menu is visible. * @returns {void} */ onOpenChange?: (event: SyntheticEvent, isOpen: boolean) => void; /** * Whether or not to show the dialog. */ open?: boolean | null; /** * The z-index of of the dialog. */ zIndex?: number; } declare function InnerDialogTrigger({ as, children, defaultOpen, dismissable, forwardedRef, onOpenChange, open: openProp, zIndex, ...rest }: InnerDialogTriggerProps): react_jsx_runtime.JSX.Element; declare namespace InnerDialogTrigger { var defaultElement: string; } declare const DialogTrigger: react.ForwardRefExoticComponent, "ref"> & react.RefAttributes>; type DialogTriggerProps = ComponentProps; export { DialogTrigger, type DialogTriggerProps, InnerDialogTrigger, type InnerDialogTriggerProps };