export declare const useModal: () => {
    onClose: (event?: import("react").SyntheticEvent<HTMLElement, Event>) => void;
    closeLabel: string | undefined;
    titleId: string | undefined;
    setTitleId: (id: string) => void;
};
