import * as React from 'react'; export declare const useDialog: (inProps?: unknown) => import("@primereact/types/core").HeadlessInstance; firstHiddenElementRef: React.RefObject; lastHiddenElementRef: React.RefObject; firstHiddenProps: { role: "presentation"; 'aria-hidden': true; 'data-focus-guard': string; onFocus: (event: React.FocusEvent) => void; }; lastHiddenProps: { role: "presentation"; 'aria-hidden': true; 'data-focus-guard': string; onFocus: (event: React.FocusEvent) => void; }; }>; setPopupRef: (node: HTMLElement | null) => void; setPositionerRef: (node: HTMLElement | null) => void; setBackdropRef: (node: HTMLElement | null) => void; rootProps: { 'data-maximized': ""; 'data-open': ""; id: string | undefined; 'data-scope': string; 'data-part': string; } | { 'data-maximized'?: undefined; 'data-open': ""; id: string | undefined; 'data-scope': string; 'data-part': string; } | { 'data-maximized': ""; 'data-closed': ""; id: string | undefined; 'data-scope': string; 'data-part': string; } | { 'data-maximized'?: undefined; 'data-closed': ""; id: string | undefined; 'data-scope': string; 'data-part': string; }; positionerProps: { onPointerDown: (event: React.PointerEvent) => void; onPointerUp: () => void; ref: (node: HTMLElement | null) => void; 'data-modal': ""; 'data-maximized': ""; 'data-open': ""; 'data-scope': string; 'data-part': string; 'data-position': "center" | "top" | "left" | "right" | "bottom" | "topleft" | "topright" | "bottomleft" | "bottomright" | undefined; 'data-scroll-behavior': "inside" | "outside" | undefined; } | { onPointerDown: (event: React.PointerEvent) => void; onPointerUp: () => void; ref: (node: HTMLElement | null) => void; 'data-modal'?: undefined; 'data-maximized': ""; 'data-open': ""; 'data-scope': string; 'data-part': string; 'data-position': "center" | "top" | "left" | "right" | "bottom" | "topleft" | "topright" | "bottomleft" | "bottomright" | undefined; 'data-scroll-behavior': "inside" | "outside" | undefined; } | { onPointerDown: (event: React.PointerEvent) => void; onPointerUp: () => void; ref: (node: HTMLElement | null) => void; 'data-modal': ""; 'data-maximized'?: undefined; 'data-open': ""; 'data-scope': string; 'data-part': string; 'data-position': "center" | "top" | "left" | "right" | "bottom" | "topleft" | "topright" | "bottomleft" | "bottomright" | undefined; 'data-scroll-behavior': "inside" | "outside" | undefined; } | { onPointerDown: (event: React.PointerEvent) => void; onPointerUp: () => void; ref: (node: HTMLElement | null) => void; 'data-modal'?: undefined; 'data-maximized'?: undefined; 'data-open': ""; 'data-scope': string; 'data-part': string; 'data-position': "center" | "top" | "left" | "right" | "bottom" | "topleft" | "topright" | "bottomleft" | "bottomright" | undefined; 'data-scroll-behavior': "inside" | "outside" | undefined; } | { onPointerDown: (event: React.PointerEvent) => void; onPointerUp: () => void; ref: (node: HTMLElement | null) => void; 'data-modal': ""; 'data-maximized': ""; 'data-closed': ""; 'data-scope': string; 'data-part': string; 'data-position': "center" | "top" | "left" | "right" | "bottom" | "topleft" | "topright" | "bottomleft" | "bottomright" | undefined; 'data-scroll-behavior': "inside" | "outside" | undefined; } | { onPointerDown: (event: React.PointerEvent) => void; onPointerUp: () => void; ref: (node: HTMLElement | null) => void; 'data-modal'?: undefined; 'data-maximized': ""; 'data-closed': ""; 'data-scope': string; 'data-part': string; 'data-position': "center" | "top" | "left" | "right" | "bottom" | "topleft" | "topright" | "bottomleft" | "bottomright" | undefined; 'data-scroll-behavior': "inside" | "outside" | undefined; } | { onPointerDown: (event: React.PointerEvent) => void; onPointerUp: () => void; ref: (node: HTMLElement | null) => void; 'data-modal': ""; 'data-maximized'?: undefined; 'data-closed': ""; 'data-scope': string; 'data-part': string; 'data-position': "center" | "top" | "left" | "right" | "bottom" | "topleft" | "topright" | "bottomleft" | "bottomright" | undefined; 'data-scroll-behavior': "inside" | "outside" | undefined; } | { onPointerDown: (event: React.PointerEvent) => void; onPointerUp: () => void; ref: (node: HTMLElement | null) => void; 'data-modal'?: undefined; 'data-maximized'?: undefined; 'data-closed': ""; 'data-scope': string; 'data-part': string; 'data-position': "center" | "top" | "left" | "right" | "bottom" | "topleft" | "topright" | "bottomleft" | "bottomright" | undefined; 'data-scroll-behavior': "inside" | "outside" | undefined; }; triggerProps: { onClick: () => void; ref: (node: HTMLElement | null) => void; 'data-popup-open'?: "" | undefined; type: "button"; 'data-scope': string; 'data-part': string; 'aria-haspopup': "dialog"; 'aria-expanded': boolean | undefined; 'aria-controls': string | undefined; }; portalProps: { 'data-scope': string; 'data-part': string; }; backdropProps: { onPointerDown: (event: React.PointerEvent) => void; onPointerUp: () => void; ref: (node: HTMLElement | null) => void; 'data-open': ""; 'data-scope': string; 'data-part': string; } | { onPointerDown: (event: React.PointerEvent) => void; onPointerUp: () => void; ref: (node: HTMLElement | null) => void; 'data-closed': ""; 'data-scope': string; 'data-part': string; }; popupProps: { onPointerMove: (event: React.PointerEvent) => void; onPointerUp: () => void; ref: (node: HTMLElement | null) => void; 'data-draggable'?: "" | undefined; 'data-maximized': ""; 'data-open': ""; id: string | undefined; role: "dialog"; 'aria-labelledby': string; tabIndex: -1; 'data-scope': string; 'data-part': string; 'data-position': "center" | "top" | "left" | "right" | "bottom" | "topleft" | "topright" | "bottomleft" | "bottomright" | undefined; } | { onPointerMove: (event: React.PointerEvent) => void; onPointerUp: () => void; ref: (node: HTMLElement | null) => void; 'data-draggable'?: "" | undefined; 'data-maximized'?: undefined; 'data-open': ""; id: string | undefined; role: "dialog"; 'aria-labelledby': string; tabIndex: -1; 'data-scope': string; 'data-part': string; 'data-position': "center" | "top" | "left" | "right" | "bottom" | "topleft" | "topright" | "bottomleft" | "bottomright" | undefined; } | { onPointerMove: (event: React.PointerEvent) => void; onPointerUp: () => void; ref: (node: HTMLElement | null) => void; 'data-draggable'?: "" | undefined; 'data-maximized': ""; 'data-closed': ""; id: string | undefined; role: "dialog"; 'aria-labelledby': string; tabIndex: -1; 'data-scope': string; 'data-part': string; 'data-position': "center" | "top" | "left" | "right" | "bottom" | "topleft" | "topright" | "bottomleft" | "bottomright" | undefined; } | { onPointerMove: (event: React.PointerEvent) => void; onPointerUp: () => void; ref: (node: HTMLElement | null) => void; 'data-draggable'?: "" | undefined; 'data-maximized'?: undefined; 'data-closed': ""; id: string | undefined; role: "dialog"; 'aria-labelledby': string; tabIndex: -1; 'data-scope': string; 'data-part': string; 'data-position': "center" | "top" | "left" | "right" | "bottom" | "topleft" | "topright" | "bottomleft" | "bottomright" | undefined; }; headerProps: { onPointerDown: (event: React.PointerEvent) => void; style?: React.CSSProperties | undefined; 'data-scope': string; 'data-part': string; id: string; }; headerActionsProps: { 'data-scope': string; 'data-part': string; }; titleProps: { 'data-scope': string; 'data-part': string; }; maximizableProps: { ref: (node: HTMLElement | null) => void; onClick: () => void; 'data-maximized': ""; 'data-scope': string; 'data-part': string; } | { ref: (node: HTMLElement | null) => void; onClick: () => void; 'data-minimized': ""; 'data-scope': string; 'data-part': string; }; closeProps: { 'data-scope': string; 'data-part': string; ref: (node: HTMLElement | null) => void; onClick: () => void; }; contentProps: { 'data-maximized': ""; 'data-scope': string; 'data-part': string; } | { 'data-maximized'?: undefined; 'data-scope': string; 'data-part': string; }; footerProps: { 'data-scope': string; 'data-part': string; }; toggle: () => void; open: () => void; close: () => void; toggleMaximized: () => void; onOpenComplete: () => void; onCloseComplete: () => void; }>;