import { ComponentChild, VNode } from 'preact'; export declare type OnClickEvent = KeyboardEvent | MouseEvent; export declare type OnClick = (e: OnClickEvent, byKeyboard: boolean) => void; interface A11yWrapperProps { children: ComponentChild; onClick: OnClick; onUpKeyPressed?: (e: KeyboardEvent) => void; onDownKeyPressed?: (e: KeyboardEvent) => void; onLeftKeyPressed?: (e: KeyboardEvent) => void; onRightKeyPressed?: (e: KeyboardEvent) => void; role?: string | null; type?: string; onFocus?: (e: FocusEvent) => void; onBlur?: (e: FocusEvent) => void; } export declare const isKeyboardEvent: (e: OnClickEvent) => boolean; export declare const A11yWrapper: { ({ children, onClick, onUpKeyPressed, onDownKeyPressed, onLeftKeyPressed, onRightKeyPressed, role, type, onFocus, onBlur }: A11yWrapperProps): VNode<{}>; defaultProps: { role: string; }; }; export {};