import { MenuProviderProps } from '@ariakit/react';
interface CommonProps {
    autocomplete?: boolean;
    autocompleteMode?: 'auto' | 'manual';
    searchValue?: string;
}
interface DropdownContextValue extends CommonProps {
    parent?: CommonProps;
}
interface UseDropdownContext extends DropdownContextValue {
    shouldFilter?: boolean;
    parent?: CommonProps & {
        shouldFilter?: boolean;
    };
}
/**
 Root context to manage the Dropdown control
 @remarks Only for internal usage.
 */
export declare const DropdownContext: import("react").Context<DropdownContextValue | undefined>;
export declare const useDropdownContext: () => UseDropdownContext;
export interface BaseMenuProviderProps extends Omit<MenuProviderProps, 'setOpen'> {
    onOpenChange?: MenuProviderProps['setOpen'];
}
export interface NormalDropdownMenuRootProps extends BaseMenuProviderProps {
    autocomplete?: false;
    autocompleteMode?: never;
    searchValue?: never;
    onSearch?: never;
    defaultSearchValue?: never;
}
export interface AutocompleteDropdownMenuRootProps extends BaseMenuProviderProps, CommonProps {
    autocomplete: true;
    onSearch?: (value: string) => void;
    defaultSearchValue?: string;
}
export type DropdownMenuRootProps = NormalDropdownMenuRootProps | AutocompleteDropdownMenuRootProps;
export declare const DropdownMenuRoot: ({ autocomplete, autocompleteMode, searchValue: providedSearchValue, onSearch, focusLoop, defaultSearchValue, onOpenChange, ...props }: DropdownMenuRootProps) => import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=dropdown-menu-root.d.ts.map