export declare type LayerStackPriority = 'high' | 'low' | number; export interface LayerStackEntry { id: string; item: TItem; priority: LayerStackPriority; sequence: number; tags?: string[]; } export declare class LayerStack { private _entries; private _nextSequence; add(item: TItem, priority?: LayerStackPriority, tags?: string | string[]): LayerStackEntry; get entries(): Array>; getEntries(filter: (entry: LayerStackEntry) => boolean): LayerStackEntry[]; getItems(filter: (entry: LayerStackEntry) => boolean): LayerStackEntry[]; getItemsByTag(tags: string | string[], matchType?: 'and' | 'or'): LayerStackEntry[]; private getItemsFromEntries; get items(): TItem[]; }