import { FunctionComponent, h, Ref } from 'preact'; import { Position } from './types'; export interface OpenDialogOptions { /** * Control the placement and behavior of the dialog. */ position: Position; strategy?: "fixed" | "absolute"; isOpen: boolean; close: () => void; onDismiss?: () => void; containerId: string; showArrow?: boolean; children?: preact.ComponentChildren; } export declare function useDialog({ onClose, onOpen, initialValue, }?: { onClose?: () => void; onOpen?: () => void; initialValue?: boolean; }): { isOpen: boolean; open: () => void; close: () => void; toggle: () => void; }; export declare const Dialog: FunctionComponent; export declare function DialogHeader({ children, innerRef, }: { children: preact.ComponentChildren; innerRef?: Ref; }): h.JSX.Element; export declare function DialogContent({ children, innerRef, }: { children: preact.ComponentChildren; innerRef?: Ref; }): h.JSX.Element; //# sourceMappingURL=Dialog.d.ts.map