import { n as Scope } from "../create-context-CKMcRGBM.js"; import { t as IDirection } from "../direction.types-Cxja_joX.js"; import { t as Primitive } from "../primitive-elements-fih1b6xg.js"; import * as React$1 from "react"; //#region src/command/command.types.d.ts declare namespace ICommand { export type IScoped = TProps & { __scopeCommand?: Scope; }; export interface IItemData { value: string; disabled: boolean; textValue: string; } export interface IContext { search: string; onSearchChange: (search: string) => void; dir: IDirection.Kind; listId: string; inputRef: React$1.RefObject; typeaheadSearchRef: React$1.RefObject; selectedItem: HTMLLIElement | null; setSelectedItem: (item: HTMLLIElement | null) => void; selectedValue: string | null; selectedText: string | null; shouldFilter: boolean; } export interface IListContext { onItemLeave?: (() => void) | undefined; listRef: React$1.RefObject; emptyRef: React$1.RefObject; } export interface IItemContext { value: string; disabled: boolean; textId: string; onItemTextChange(node: HTMLElement | null): void; } export interface IGroupContext { id: string; } type PrimitiveDivProps = React$1.ComponentPropsWithRef; type PrimitiveInputProps = React$1.ComponentPropsWithRef; type PrimitiveUlProps = React$1.ComponentPropsWithRef; type PrimitiveLiProps = React$1.ComponentPropsWithRef; export interface IProps extends PrimitiveDivProps { dir?: IDirection.Kind; shouldFilter?: boolean; } export interface IEmptyProps extends PrimitiveDivProps {} export interface IGroupProps extends PrimitiveDivProps { heading?: React$1.ReactNode; } export interface IInputProps extends PrimitiveInputProps {} export interface IListProps extends PrimitiveUlProps {} export interface ISeparatorProps extends PrimitiveDivProps {} export interface IItemProps extends Omit { value?: string; disabled?: boolean; textValue?: string; onSelect?: (value: string) => void; } export {}; } //#endregion export { ICommand };