export interface IState { current: number; queue: Array; commands: Partial<{ undo: () => void; redo: () => void; drag: () => void; updateContainer: (key: string) => void; placeTop: () => void; placeBottom: () => void; delete: () => void; updateBlock: (text: string, block: any) => void; }>; commandArray: Array<{ name: string; keyboard: string; execute: () => (() => void); init: () => void; }>; destroyArray: Array; } export declare function useCommand(data: any, focusData: any): IState;