import { KeyboardEvent, MouseEvent } from 'react';
type OptionAttrs = {
    size: number;
    position: number;
    onKeyDown?: (event: KeyboardEvent) => void;
    onClick?: (event: MouseEvent) => void;
    isDisabled?: boolean;
    tabIndex?: number;
    isSelected?: boolean;
};
export declare function useListboxAttrs(): {
    role: string;
    getOptionAttrs: ({ tabIndex, size, position, onClick, onKeyDown, isDisabled, isSelected, }: OptionAttrs) => {
        role: string;
        'aria-disabled': boolean;
        'aria-selected': boolean;
        'aria-setsize': number;
        'aria-posinset': number;
        tabIndex: number;
        onKeyDown(e: KeyboardEvent): void;
        onClick(e: MouseEvent): void;
    };
};
export {};
