import { ViewContainerRef } from '@angular/core'; import { Dimensions } from '../../types/public_api'; export declare type DatoDialogOptions = { id: string; /** * Whether a backdrop element should be created for a given modal (true by default). */ backdrop?: boolean; /** * An element to which to attach newly opened modal windows. */ container?: Element; /** * Custom class to append to the modal window */ windowClass?: string; /** * Custom data */ data?: any; viewContainerRef?: ViewContainerRef; /** * Whether the user can use escape or clicking outside to close a modal. */ enableClose: boolean; /** * Custom dialog width */ width: string; /** * Custom dialog height */ height: string; /** * Dialog size */ size: Dimensions; /** * Whether the dialog can be drag. Defaults false. */ draggable: boolean; /** * Set the dialog to be in full screen. */ fullScreen: boolean; /** * auto Id */ dataAutoId?: string; /**whether the dialog should adopt lightning UI */ lightning?: boolean; }; export declare function getDefaultOptions(): DatoDialogOptions; export declare const dialogSizePreset: { sm: string[]; md: string[]; lg: string[]; }; export declare enum DialogResultStatus { SUCCESS = "SUCCESS", DISMISSED = "DISMISSED" } /** * The dialog result received from afterClosed */ export declare type DatoDialogResult = { status: DialogResultStatus; data: T; };