import type { UiSizeType } from './Core';

export interface UseModalProps {
  id: string;
  title: string;
  children: React.ReactElement;
  size?: UiSizeType;
  onOpen?: () => void;
  onClose?: () => void;
  closeOnClickOutside?: boolean;
}

export interface UseModalReturn {
  open: () => void;
  close: () => void;
  toggle: () => void;
  modal: React.ReactElement;
}
