import React from 'react';
import type { CenteredDialogProps } from '../dialog';
import type { CommandProps } from './types';
type CenteredDialogComponent = React.ComponentType<CenteredDialogProps>;
/**
 * Build the `Command` palette bound to a platform `CenteredDialog`. The
 * platform entry files (`index.ts` / `index.web.ts`) inject the correct one
 * (native RN `Modal` vs pure-DOM web overlay) — this repo never relies on
 * implicit `.web` resolution. The body is single-source.
 *
 * `Command` is a ⌘K command palette built on Bloom's `CenteredDialog`,
 * `SearchInput`, an `Item` results list and `Kbd` shortcut hints. Items group
 * by their `group` field (ungrouped first). On web the list is
 * keyboard-navigable (Up/Down/Enter); on native, tap to select.
 */
export declare function createCommand(CenteredDialog: CenteredDialogComponent): {
    ({ visible, onClose, items, placeholder, emptyText, query: queryProp, onQueryChange, filter, maxListHeight, style, testID, }: CommandProps): import("react/jsx-runtime").JSX.Element;
    displayName: string;
};
export type CommandType = ReturnType<typeof createCommand>;
export {};
//# sourceMappingURL=Command.d.ts.map