import { OnInit } from '@angular/core'; import { FormControl } from '@angular/forms'; import { InputControl } from '../input.control'; import { ValidatorArguments } from '../../form-field.control'; /** * Represents a control that allows the writing of an identifier. * It uses the `IdentifierValue.identifier_Label` as a label if the `content.label` is not specified. */ export declare class InputIdentifierComponent extends InputControl implements OnInit { /** * Returns a `FormControl` by default. * It is used to initialized the `InputIdentifierComponent`'s `content.formControl` value by default. * @param validatorArguments An object that has only one field of `pattern` name and its value is a string. * The `pattern` name is the validator name and the value is the value that the validator needs to check. * For example, you can call the `getFormControlByDefault` method in this way: * InputIdentifierComponent.getFormControlByDefault({ 'pattern': '^[a-zA-Z\_][a-zA-Z\-\_0-9]*$' }); * If this argument is not specified, by default its value is { 'pattern': '^[a-zA-Z\-\_]*$' }. */ static getFormControlByDefault(validatorArguments?: ValidatorArguments): FormControl; constructor(); ngOnInit(): void; /** * Returns an error string if the control is in an error state; otherwise, empty string. */ getErrorMessage(): string; }