import { Widget } from '@lumino/widgets'; import { ISignal } from '@lumino/signaling'; export declare enum ItemState { CLOSED = 0, LOCKED = 1, UNLOCKED = 2 } export declare class GridStackItemModel { constructor(options: GridStackItemModel.IOptions); get cellId(): string; get isLocked(): boolean; get stateChanged(): ISignal; dispose(): void; close(): void; lock(): void; unlock(): void; private _isLocked; private _cellId; private _stateChanged; } /** * A namespace for GridStackItem statics. */ export declare namespace GridStackItemModel { /** * Options interface for GridStackItem */ interface IOptions { /** * The cell Id. */ cellId: string; /** * The cell widget. */ cellWidget: Widget; /** * If the cell is pinned or not. */ isLocked: boolean; } }