import { FC, PropsWithChildren, ReactNode } from 'react';
type FCC
= FC>;
type Option = {
label: ReactNode;
value: T;
};
type AutoCompleteOption = {
label: ReactNode;
value: T;
searchValue: string;
};
type ReactNodeExcluded = Exclude | (string & {});
type NumberExcluded = number & {};
type ElementProps = Omit, PropsToOmit>;
interface VisibleState {
/** Controllable component open state */
open?: boolean;
/** Controllable component open state */
defaultOpen?: boolean;
/** Callback fired when open state changes */
onOpenChange?: (open: boolean) => void;
}
export type { AutoCompleteOption, ElementProps, FCC, NumberExcluded, Option, ReactNodeExcluded, VisibleState };