import type { CSSProperties } from 'react'; import type { Color, Duration } from '../@aileron/declare/index.js'; export interface ModalOptions { /** Modal z-index */ zIndex?: number; /** Modal transition time(ms, s) */ duration?: Duration; /** Modal backdrop color */ backdrop?: Color | CSSProperties; /** Whether to destroy the modal manually */ manualDestroy?: boolean; /** Whether to close the modal when the backdrop is clicked */ closeOnBackdropClick?: boolean; }