export interface TapState { isHovered: boolean; isPressed: boolean; isFocused: boolean; } export type TaplyRenderFn = (attrs: any, ref: any) => React.ReactElement | null; export type TaplyProps = { onClick?: (e: MouseEvent | KeyboardEvent) => void; tapState?: TapState; onChangeTapState?: (tapState: TapState) => void; onFocus?: (event: FocusEvent) => void; onBlur?: (event: FocusEvent) => void; isDisabled?: boolean; preventFocusOnTap?: boolean; preventFocusSteal?: boolean; isFocusable?: boolean; isPinchable?: boolean; tabIndex?: number; }; export declare const initialTapState: TapState; declare const useTaply: (props: TaplyProps) => { tapState: TapState; render: (callback: TaplyRenderFn) => import("react").ReactElement> | null; }; export { useTaply };