import * as React from 'react'; import type { CommandContextValue, CommandProps } from './types.cjs'; export declare const OPTION_SELECTOR = "[role=\"option\"]:not([data-disabled])"; /** The built-in matcher: case-insensitive substring on the item's `value`, or on any of its `keywords`. */ export declare function defaultCommandFilter(itemValue: string, search: string, keywords?: readonly string[]): boolean; /** * Reads the palette state a {@link Command} root publishes to its parts. * * @internal */ export declare const CommandProvider: React.FC, useCommandContext: (consumerName: string) => CommandContextValue; /** * Root of a cmdk-style command palette: owns virtual focus (`aria-activedescendant`-based, so real DOM focus stays on `CommandInput`) and item bookkeeping, renders a plain `
`. * * @example * ```tsx * function CommandPalette() { * return ( * * * * Searching… * No results found. * * {['Profile', 'Settings', 'Billing'].map((item) => ( * console.log('go to', v)}> * {item} * * ))} * * * * ); * } * ``` */ export declare const Command: { ({ children, groups, placeholder, emptyMessage, loadingMessage, onSelect, renderItem, value: valueProp, defaultValue, onValueChange, search: searchProp, defaultSearch, onSearchChange, filter, loop, disablePointerSelection, loading, ref: forwardedRef, ...props }: CommandProps): React.ReactNode; displayName: string; };