import { DependencyList } from 'react'; interface UseShortcutParameters { /** KeyboardEvent Test */ test: (event: KeyboardEvent) => boolean; /** Shortcut Handler */ callback: () => void; /** @deprecated 입력하지 않아도 된다 */ deps?: DependencyList; /** Popup과 같이 여러개의 Window를 일괄 통제해야 하는 경우 */ windows?: Window[]; } export declare function useShortcut({ test, callback, windows }: UseShortcutParameters): void; export declare const key: (key: string | string[], { ctrl, alt, shift }?: { ctrl?: boolean | undefined; alt?: boolean | undefined; shift?: boolean | undefined; }) => (event: KeyboardEvent) => boolean; export {};