import React from 'react'; import type { DialogAutoFocus } from '../types'; export interface UseSimpleDialogOptions { title?: string; closable?: boolean; backdrop?: boolean; backdropClosable?: boolean; width?: number; height?: number; /** Moves focus into the dialog once it has finished opening. See {@link DialogAutoFocus}. */ autoFocus?: DialogAutoFocus; /** Trap Tab focus inside the dialog and restore it on close (web only, default true). */ trapFocus?: boolean; } /** * Simple hook for opening dialogs with less boilerplate */ export declare function useSimpleDialog(): { modal: (content: React.ReactNode, options?: UseSimpleDialogOptions) => string; bottomSheet: (content: React.ReactNode, options?: UseSimpleDialogOptions) => string; fullScreen: (content: React.ReactNode, options?: UseSimpleDialogOptions) => string; confirm: (message: string, options?: UseSimpleDialogOptions & { onConfirm?: () => void; onCancel?: () => void; confirmText?: string; cancelText?: string; }) => string; close: (id: string) => void; closeAll: () => void; };