import type { IEventDetail } from '@breadstone/mosaik-elements'; /** * Represents the event detail for app menu toggled events. * * @public */ export interface IAppMenuToggledEventDetail extends IEventDetail { } /** * Event fired when app menu is toggled. * * @public */ export type AppMenuToggledEvent = CustomEvent; /** * Represents the event detail for drawer margin changed events. * * @public */ export interface IDrawerMarginChangedEventDetail extends IEventDetail { /** * The left margin. */ readonly left: number | null; /** * The right margin. */ readonly right: number | null; } /** * Event fired when drawer margin changes. * * @public */ export type DrawerMarginChangedEvent = CustomEvent; /** * Represents the event detail for layout change events. * * @public */ export interface ILayoutChangedEventDetail extends IEventDetail { /** * The new tiles configuration. */ readonly tiles: unknown; } /** * Event fired when layout changes. * * @public */ export type LayoutChangedEvent = CustomEvent; /** * Represents the event detail for split reposition events. * * @public */ export interface ISplitRepositionEventDetail extends IEventDetail { /** * The new position. */ readonly position?: number; } /** * Event fired when split position changes. * * @public */ export type SplitRepositionEvent = CustomEvent; declare global { interface HTMLElementEventMap { appMenuToggled: AppMenuToggledEvent; drawerMarginChanged: DrawerMarginChangedEvent; layoutChanged: LayoutChangedEvent; splitReposition: SplitRepositionEvent; contentMarginChanged: DrawerMarginChangedEvent; } } //# sourceMappingURL=LayoutEvents.d.ts.map