import { TextInputFilter } from './internal/types';
/**
 * Props for the FilterTextInput component.
 */
interface FilterTextInputProps {
    /** The text input filter — drives label, placeholder, and max length. */
    filter: TextInputFilter;
    /** Current text value. */
    value: string;
    /** Callback to update the value. Receives the truncated string. */
    onChange: (value: string) => void;
    /**
     * `compact` hides the field's own label (toolbar popover — the filter
     * button doubles as the label); `grid` shows it (drawer cell).
     */
    layout: "compact" | "grid";
}
/**
 * Single-line TextField for the textInput filter. Used as the popover body in
 * the toolbar (`layout="compact"`) and as the cell in the drawer
 * (`layout="grid"`).
 *
 * Features:
 * - Truncates entered text to `filter.maxLength` before emitting
 * - Optional `current/max` character counter (`showCounter`)
 * - Hides its own label in `compact` (the filter button doubles as the label)
 */
export declare const FilterTextInput: ({ filter, value, onChange, layout, }: FilterTextInputProps) => import("react/jsx-runtime").JSX.Element;
export {};
