export declare const useAllowClose: () => { /** * Whether user can close the current view */ allowsClosing: boolean; /** * Whether the close button should be shown. * Even if the view allows closing, the close button may still be hidden. */ showCloseButton: boolean; };