import { type ComponentProps, type HTMLAttributes, type ReactNode } from 'react';
import { type TElement } from 'platejs';
import { type VariantProps } from 'class-variance-authority';
import { Ariakit } from './menu';
type FilterFn = (item: {
    value: string;
    group?: string;
    keywords?: string[];
    label?: string;
}, search: string) => boolean;
type InlineComboboxProps = {
    children: ReactNode;
    element: TElement;
    trigger: string;
    filter?: FilterFn | false;
    hideWhenNoValue?: boolean;
    showTrigger?: boolean;
    value?: string;
    setValue?: (value: string) => void;
};
declare function InlineCombobox({ children, element, filter, hideWhenNoValue, setValue: setValueProp, showTrigger, trigger, value: valueProp }: InlineComboboxProps): import("react/jsx-runtime").JSX.Element;
declare function InlineComboboxInput({ className, ref: refProp, ...props }: ComponentProps<'input'>): import("react/jsx-runtime").JSX.Element;
declare const comboboxVariants: (props?: ({
    variant?: "default" | "emoji" | "mention" | "slash" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
declare function InlineComboboxContent({ className, variant, ...props }: ComponentProps<typeof Ariakit.ComboboxPopover> & VariantProps<typeof comboboxVariants>): import("react/jsx-runtime").JSX.Element;
declare function InlineComboboxItem({ className, focusEditor, group, keywords, label, onClick, ...props }: {
    focusEditor?: boolean;
    group?: string;
    keywords?: string[];
    label?: string;
} & Ariakit.ComboboxItemProps & Required<Pick<Ariakit.ComboboxItemProps, 'value'>>): import("react/jsx-runtime").JSX.Element | null;
declare function InlineComboboxEmpty({ children, className }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element | null;
declare function InlineComboboxGroup({ className, ...props }: ComponentProps<typeof Ariakit.ComboboxGroup>): import("react/jsx-runtime").JSX.Element;
declare function InlineComboboxGroupLabel({ className, ...props }: ComponentProps<typeof Ariakit.ComboboxGroupLabel>): import("react/jsx-runtime").JSX.Element;
declare const InlineComboboxRow: (props: Ariakit.ComboboxRowProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
export { InlineCombobox, InlineComboboxContent, InlineComboboxEmpty, InlineComboboxGroup, InlineComboboxGroupLabel, InlineComboboxInput, InlineComboboxItem, InlineComboboxRow };
