import type { TextInputSchema, TextAreaSchema, DynamicRef, FormRef } from '../types'; import { FormFieldComponent } from './base'; export type TextInputType = 'text' | 'number' | 'email' | 'password' | 'passcode' | 'phone'; export declare class TextInput extends FormFieldComponent { private readonly label; protected readonly type: "TextInput"; private _inputType?; private _minChars?; private _maxChars?; private _helperText?; private _initValue?; constructor(name: N, label: string | DynamicRef); get ref(): FormRef; setInputType(type: TextInputType): this; setMinChars(min: number): this; setMaxChars(max: number): this; setHelperText(text: string | DynamicRef): this; setInitValue(value: string | DynamicRef): this; toJSON(): TextInputSchema; } export declare class TextArea extends FormFieldComponent { private readonly label; protected readonly type: "TextArea"; private _maxLength?; private _helperText?; private _initValue?; constructor(name: N, label: string | DynamicRef); get ref(): FormRef; setMaxLength(max: number): this; setHelperText(text: string | DynamicRef): this; setInitValue(value: string | DynamicRef): this; toJSON(): TextAreaSchema; }