declare abstract class LabelFieldDefinitionBuilder<BuilderType, FieldType> {
    protected _isOptional: boolean;
    protected valueRegexes: string[];
    protected hiddenProperties: Record<string, unknown>;
    isOptional(optional: boolean): BuilderType;
    setValueRegexes(valueRegexes: string[]): BuilderType;
    setValueRegex(valueRegex: string): BuilderType;
    setHiddenProperty(key: string, value: unknown): BuilderType;
    setHiddenProperties(hiddenProperties: Record<string, unknown>): BuilderType;
    abstract build(name: string): Promise<FieldType>;
    protected abstract getThis(): BuilderType;
}

export { LabelFieldDefinitionBuilder };
