import { MutableRefObject } from "react"; export declare const initialCommandState: { currentUndoRedoIndex: number; redoUndoList: never[]; commandList: never[]; commandNameRunnerMap: {}; destroyList: never[]; }; interface UseCommandExposeInternal { registry: (command: ArteryEngine.Command) => void; init: () => void; onKeyDown: (event: KeyboardEvent) => void; commandNameRunnerMap: ArteryEngine.CommandNameRunnerMap; } export declare type UseCommandExposePublic = Omit; export declare function useCommandPublic(commandStateRef: MutableRefObject): UseCommandExposePublic; interface UseCommandExposeWithCommandStateRef extends UseCommandExposePublic { commandStateRef: MutableRefObject; } export declare function useCommand(): UseCommandExposeWithCommandStateRef; export {};