import { Process } from "../process"; import { StatePackEventArgs } from "../events"; import { List } from "../longan/gs.collections"; import { RollType } from "./deltaState"; import { StateItem } from "./stateItem"; export declare class StatePack { private _name; private _stateItemList; private _tag; private _currentRollType; afterRoll: List<(process: Process, args: StatePackEventArgs) => void>; get name(): string; set name(value: string); get tag(): any; set tag(value: any); get currentRollType(): RollType; get stateItemList(): List; constructor(name?: string); roll(process: Process, type: RollType): void; add(item: StateItem): void; insert(index: number, item: StateItem): void; remove(item: StateItem): void; clear(): void; indexOf(item: StateItem): number; merage(pack: StatePack): void; removeItemByType(type: any): void; static createByStateItem(item: StateItem): StatePack; }