declare const useCommand: (props: any) => { dialogProps: {}; handleCommand: ({ config, payload }: any) => void; }; export default useCommand;