import { type KeyboardEvent, type MouseEvent } from 'react'; /** * Props that make a non-button element (a Card, a Card row, an Image frame) a button when it has an `onClick`: * focusable and activated by Enter and Space, but only when it is itself the target, so a nested control's keys stay * its own. Without `onClick` only the caller's `onKeyDown` passes through. */ export declare const clickableProps: (onClick: ((event: MouseEvent) => void) | undefined, onKeyDown: ((event: KeyboardEvent) => void) | undefined) => { role: string; tabIndex: number; onClick: (event: MouseEvent) => void; onKeyDown: (event: KeyboardEvent) => void; } | { role?: undefined; tabIndex?: undefined; onClick?: undefined; onKeyDown: ((event: KeyboardEvent) => void) | undefined; }; //# sourceMappingURL=clickable.d.ts.map