import { default as React } from 'react';
import { DescrMode, InputType, Sizing, State } from '../../types/global';
import { StringCellBindProps } from '../cell/cell-types';
import { YesNo } from '../../types/legacy';
export interface TextfieldProps extends StringCellBindProps {
    placeholder?: string;
    shapeIcon?: string;
    icon?: string;
    disabled?: boolean;
    sizing?: Sizing;
    state?: State;
    variant?: string | "notSelectable";
    /**
     * @default false
     * Whether the textfield should expand to fill the available width
     */
    FullWidth?: YesNo | boolean;
    min?: number;
    max?: number;
    step?: number;
    inputMode?: "text" | "numeric" | "decimal" | "search" | "tel" | "email" | "url";
    /**
     * It manages the textfield border as outlined or base
     */
    appearance?: "base" | "outlined";
    rotatedShapeIcon?: boolean;
    ref?: React.Ref<HTMLDivElement>;
    /**
     * It manages the inputfield ref. Usefull for input autofocus
     * @default true
     */
    inputRef?: React.Ref<HTMLInputElement>;
    onShapeIconClick?: () => void;
    onKeyDown?: (e: React.KeyboardEvent) => void;
    inputType?: InputType;
    label?: string;
    /**
     * Show the clearable function
     * @default false
     */
    isClearable?: boolean;
    /**
     * It manages the helperText visibility that shows error message
     * @default true
     */
    helperText?: boolean;
    /**
     * Internal prop to manage the data-component attribute
     * @default 'textfield'
     */
    _dataComponent?: string;
    /**
     * It manages the textfield width. It can either take a string with a Unit Measure or a width value like `fit-content`
     */
    width?: string;
    autocomplete?: string;
    /**
     * Manage the size of the field
     */
    size?: number;
    /**
     * Manage the maxLength of the field
     */
    maxLength?: number;
    /**
     * Identify that the components is optimized for performance
     */
    isVisualOnly?: boolean;
    /**
     * Show the research icon
     * @default false
     */
    hasAdvanceResearch?: boolean;
    /**
     * Optional callback called on F4 activation
     */
    onAdvanceResearchActivation?: () => void;
    /**
     *
     */
    DescrMode?: DescrMode;
}
/**
 * Represents the keyboard shortcut configuration for triggering a search action.
 *
 * @property key - The key to be pressed to trigger the search (e.g., "f").
 * @property ctrlKey - Indicates if the Ctrl key must be held down.
 * @property altKey - Indicates if the Alt key must be held down.
 */
export declare const triggerSearchAction: {
    key: string;
    ctrlKey: boolean;
    altKey: boolean;
};
//# sourceMappingURL=textfield-types.d.ts.map