import type { Nullable } from "../../../base-types"; import { PropertyDefinition } from "../property-definition"; import { StringContentType } from "../string-content-type"; /** * * String property definition. */ export declare class StringPropertyDefinition extends PropertyDefinition { /** * Describes how the content should be displayed. */ contentType: StringContentType; /** * A regular expression that must match the value of the property. If set to null the value is not checked. */ validationExpression: Nullable; /** * The name of the {@link IDataSource} to get possible values from. * * @remarks * Is null when there is no attached datasource. */ dataSourceName: Nullable; /** * The name of the {@link IOptionList} to get possible values from. * * @remarks * Is null when there is no attached option list. */ get optionListName(): Nullable; set optionListName(value: Nullable); constructor(name: string, init?: Omit, "name">); }