import { default as React } from 'react'; export type KeyHandler = (e: React.KeyboardEvent) => void | boolean | undefined; /** * Compose handlers. Stops after a handler prevents default or explicitly returns true. */ export declare function composeHandlers(...handlers: Array): KeyHandler; export interface AugmentKeyboardPropsParams { baseProps: React.HTMLProps; captureHandlers?: KeyHandler[]; bubbleHandlers?: KeyHandler[]; } /** * Safely layer our handlers around an opaque set of base props which MAY include * either `onKeyDown` and/or `onKeyDownCapture`, or neither. We treat their presence * as optional and never assume a specific ordering inside the library. */ export declare function augmentKeyboardProps({ baseProps, captureHandlers, bubbleHandlers }: AugmentKeyboardPropsParams): React.HTMLProps;