import { Container, DisplayObject } from "pixi.js"; import { DBaseStateSet } from "./d-base-state-set"; import { DLayoutVertical, DLayoutVerticalOptions, DThemeLayoutVertical } from "./d-layout-vertical"; import { DMenuItemExpandableBodyOptions } from "./d-menu-item-expandable-body"; import { DMenuItemExpandableHeaderOptions } from "./d-menu-item-expandable-header"; import { DMenuItemOptionsUnion } from "./d-menu-item-options-union"; export interface DMenuItemExpandableOptions extends DLayoutVerticalOptions { header: DisplayObject | DMenuItemExpandableHeaderOptions; body?: Container | DMenuItemExpandableBodyOptions; items?: Array | DisplayObject>; sticky?: boolean; } export interface DThemeMenuItemExpandable extends DThemeLayoutVertical { } export declare class DMenuItemExpandable = DMenuItemExpandableOptions> extends DLayoutVertical { protected _header: DisplayObject; protected _body: DisplayObject; protected init(options?: OPTIONS): void; protected newItems(body: Container, sticky: boolean, theme: THEME, options: OPTIONS | undefined): void; protected toHeader(theme: THEME, options?: OPTIONS): DisplayObject; protected newHeader(theme: THEME, options?: DMenuItemExpandableHeaderOptions): DisplayObject; protected toBody(theme: THEME, options?: OPTIONS): Container; protected newBody(theme: THEME, options?: DMenuItemExpandableBodyOptions): Container; open(): void; close(): void; toggle(): void; protected onActivated(): void; protected onDeactivated(): void; protected onStateChange(newState: DBaseStateSet, oldState: DBaseStateSet): void; protected onKeyDown(e: KeyboardEvent): boolean; protected getType(): string; }