import { HTMLAttributes, RefObject } from 'react'; import type { SharedButtonProps } from '../../shared/types'; export interface UseButtonProps extends SharedButtonProps { } export interface UseButtonResult { isPressed: boolean; buttonProps: HTMLAttributes; } export declare function useButton(props: UseButtonProps, ref: RefObject): UseButtonResult;