export declare function useEscapeKeydown(callback?: (event: KeyboardEvent) => void, ownerDocument?: Document, enabled?: boolean): void;