import { type HTMLAttributes } from "react";
import { type PropsWithRef } from "../types.js";
import { type TextFieldProps } from "./TextField.js";
/**
 * @remarks \@since 5.0.0
 */
export interface MenuItemTextFieldProps extends TextFieldProps {
    /**
     * Any additional props or a `ref` to apply to the surrounding `<li>` element.
     */
    liProps?: PropsWithRef<HTMLAttributes<HTMLLIElement>, HTMLLIElement>;
    /** @defaultValue `true` */
    stretch?: boolean;
}
/**
 * **Client Component**
 *
 * This is a wrapper for the `TextField` component that can be used within
 * `Menu`s by updating the `onKeyDown` and `onClick` behavior.
 *
 * Note: This is **not** the `TextFieldWithMessage` since the message part is
 * hard to style nicely within menus. You'd most likely want to use another menu
 * for displaying errors.
 *
 * @remarks \@since 5.0.0
 */
export declare const MenuItemTextField: import("react").ForwardRefExoticComponent<MenuItemTextFieldProps & import("react").RefAttributes<HTMLInputElement>>;
