/** * * A text input field in a form template. * / */ export declare class TextField { /** * * The field identifier. */ field: string; /** * * A short label for the field. */ shortLabel: string | undefined; /** * * The number of rows for display. */ rows: number | undefined; /** * * The number of columns for display. */ columns: number | undefined; /** * * Whether the field grows dynamically. */ grows: boolean | undefined; /** * * Whether the field supports multiline input. */ multiline: boolean | undefined; /** * * The schema reference for validation. */ schema: string | undefined; /** * * Tags associated with this field. */ tags: Array | undefined; /** * * Codification references for this field. */ codifications: Array | undefined; /** * * Additional options as key-value pairs. */ options: { [key: string]: string; } | undefined; /** * * Localized labels keyed by language code. */ labels: { [key: string]: string; } | undefined; /** * * The default value. */ value: string | undefined; /** * * The unit of measurement. */ unit: string | undefined; /** * * Whether the field is required. */ required: boolean | undefined; /** * * A condition expression for hiding the field. */ hideCondition: string | undefined; /** * * Whether to default to the current date/time. */ now: boolean | undefined; /** * * Whether the field value should be translated. */ translate: boolean | undefined; readonly $ktClass: 'com.icure.cardinal.sdk.model.embed.form.template.TextField'; constructor(partial: Partial & Pick); toJSON(): object; static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array): TextField; }