import React from 'react'; export type ModalId = string | number; export interface UseModalReturn { open: (id: ModalId) => void; close: () => void; currentOpen: ModalId | null; registerModal: (id: ModalId, options?: { clickOutside?: boolean; closeOnEscape?: boolean; }) => { open: boolean; role: string; id: string; 'aria-modal': boolean; 'aria-labelledby': string; ref?: React.RefObject; }; registerAction: (id: ModalId, type: 'open' | 'close', options?: { variant?: string; color?: string; }) => { onClick: () => void; ref?: React.RefObject; }; } export declare const useModal: () => UseModalReturn;