import Field from './Field'; export declare class Text extends Field { private substringCount; component: { form: string; index: string; detail: string; }; truncate(sub: number): this; constructor(name: string, databaseField?: string); serialize(): { truncate: number; name: string; sidebar: boolean; isVirtual: boolean; component: { form: string; index: string; detail: string; }; inputName: string; isSortable: boolean; isFilterable: boolean; description: string; rules: string[]; defaultValue: any; isNullable: boolean; isUnique: boolean; isSearchable: boolean; showOnIndex: boolean; showOnDetail: boolean; showOnUpdate: boolean; showOnCreation: boolean; updateRules: string[]; creationRules: string[]; hidden: boolean; showOnPanel: boolean; fieldName: string; camelCaseName: string; capsDatabasefieldName: string; databaseField: string; attributes: { [key: string]: string; }; selectOptions?: { label: string; value: string; }[] | undefined; defaultToNow?: boolean | undefined; isUnsigned?: boolean | undefined; trueLabel?: string | undefined; falseLabel?: string | undefined; isRelationshipField: boolean; camelCaseNamePlural: string; pascalCaseName: string; snakeCaseName: string; snakeCaseNamePlural: string; }; } export declare const text: (name: string, databaseField?: string | undefined) => Text; export default Text;