interface IOption<T> {
    value: T;
    index: number;
    selected: boolean;
    select: () => void;
}
export declare function useSingleSelection<T>(values: T[], defaultIndex: number): {
    value: T;
    options: Array<IOption<T>>;
};
export declare function useSingleSelection<T>(values: T[]): {
    value: T | undefined;
    options: Array<IOption<T>>;
};
export {};
