import { default as React } from 'react'; import { DrawerVariant } from '../types/DrawerVariant'; import { DrawerStatus as DrawerStatusType } from '../types/drawerStatus'; /** * Params for `useDrawerPortalNodes`. */ interface UseDrawerPortalNodesParams { children: React.ReactNode; closeLabel: string; containerRef: React.RefObject; drawerRef: React.RefObject; drawerTitleId: string; handleClose: () => void; hideCloseButton?: boolean; hideTitle?: boolean; modalWidth?: string; notifyPanelMounted: () => void; insets: { top: string; right: string; bottom: string; left: string; }; isDragging: boolean; isNative: boolean; onClosed?: () => void; open: boolean; prefixClass: (className: string) => string; setIsDragging: React.Dispatch>; status: DrawerStatusType; instanceId: string; title: string; variant?: DrawerVariant; } /** * Creates the portal-rendered content node and its fallback node. * @param {UseDrawerPortalNodesParams} params - Hook params. * @returns {{ content: React.ReactNode, fallback: React.ReactNode }} Content and fallback nodes. */ export declare const useDrawerPortalNodes: (params: UseDrawerPortalNodesParams) => { content: React.ReactNode; fallback: React.ReactNode; }; export default useDrawerPortalNodes; //# sourceMappingURL=useDrawerPortalNodes.d.ts.map