import { type ReactElement } from "react"; /** * Props for {@link DocsSearchButton}. */ export interface DocsSearchButtonProps { /** Placeholder / accessible label. Defaults to the `lang` translation (e.g. `"Search docs…"`). */ placeholder?: string; /** The render language, used to localize the default placeholder. */ lang?: string; /** Extra class appended to the button, e.g. to size it differently in a navbar vs a sidebar. */ className?: string; } /** * A quiet, field-like button that opens the docs ⌘K command palette (via {@link useDocsSearch}), * with a search icon, the placeholder, and a ⌘K hint. Drop it wherever you want a search entry point - * `DocsNavbar` places it centered in the top bar. Must be rendered inside a * {@link import("./DocsSearchProvider.js").DocsSearchProvider}. * * @param props - see {@link DocsSearchButtonProps}. * @returns the search trigger button. */ export declare function DocsSearchButton({ placeholder, lang, className }: DocsSearchButtonProps): ReactElement;