import { ReactElement, RefObject, SyntheticEvent } from 'react';

interface SelectedPosition {
    left: number;
    width: number;
}
interface ChildrenProps {
    [key: string]: any;
    tabIndex?: number;
    value: any;
}
type Size = "small" | "medium" | "large";
interface UseSelectedPosition {
    childDisplayName: string;
    children: ReactElement<ChildrenProps, any> | ReactElement<ChildrenProps, any>[];
    innerRef: RefObject<HTMLElement> | null;
    onChange(event: SyntheticEvent, value: any): void;
    preventScroll?: boolean;
    size?: Size;
    value?: any;
}

export { SelectedPosition as S, UseSelectedPosition as U };
