import { type TuiPortalContext } from '@taiga-ui/cdk/portals'; import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types'; import { type Observable } from 'rxjs'; /** * Options for a dialog * * appearance - data-appearance attribute of the dialog ('taiga' by default) * closable - show close button (true by default) * data - arbitrary data for dialog * dismissible - close dialog by Esc button or click on overlay (true by default) * label - string title for the dialog ('' by default) * required - dismissing or closing dialog by X button throws (false by default) * size - size of the dialog ('m' by default, null for content width) */ export interface TuiDialogOptions { readonly appearance: string; readonly closable: Observable | boolean; readonly data: I extends void ? undefined : I; readonly dismissible: Observable | boolean; readonly label: string; readonly required: boolean; readonly size: TuiSizeL | TuiSizeS | null; } export type TuiDialogContext = TuiPortalContext, O>; export declare const TUI_DIALOG_OPTIONS: import("@angular/core").InjectionToken>, tuiDialogOptionsProvider: (item: Partial> | (() => Partial>)) => import("@angular/core").FactoryProvider;