export declare namespace ModalTypes { /** * Modal events */ type Event = 'show' | 'shown' | 'hide' | 'hidden' | 'hidePrevented'; /** * The size of the modal */ type Size = 'small' | 'default' | 'large' | 'x-large'; /** * The size of the fullscreen modal */ type FullScreenSize = 'always' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large'; /** * Describes modal options */ interface Options { /** * The body of the modal */ body: JQuery | string; /** * The title of the modal */ title: JQuery | string; /** * The footer of the modal */ footer: JQuery | string; /** * A timeout wherein the modal will auto hide */ timeout: number; /** * Whether we display the default close button in the upper right of the modal */ useDefaultCloseButton: boolean; /** * Whether `body`, `title`, and `footer` are **destructive** meaning that if they * are passed in as JQuery elements, the elements will be **moved** into the modal * whereby they may be removed in the future. */ destructive: boolean; /** * The size of the modal; defaults to 'large'; */ size: Size; /** * The size of a fullscreen modal; defaults to `undefined` */ fullscreenSize: FullScreenSize; /** * Whether the modal should be scrollable; defaults to `false` */ scrollable: boolean; /** * Whether the modal should be vertically centered; defaults to `true` */ verticallyCentered: boolean; } } export declare namespace StatusModalTypes { interface Options { /** * The title to use for the status modal */ title: string; /** * The message to display */ body: any; /** * The message footer to display */ footer: string; /** * A timeout wherein the modal will auto hide */ timeout: number; /** * The class to apply to the title */ titleClass: string; /** * The class to apply to the body */ bodyClass: string; /** * Whether we display the default close button in the upper right of the modal */ useDefaultCloseButton: boolean; } }