import { ValidatorFn } from '@angular/forms'; import { ComponentState, FormMetadata, InputMetadata, InputType } from '../../components/types'; import { CanonicalFieldAliases, FieldSchemaDef, FormSchemaConfig } from './types'; import * as i0 from "@angular/core"; export declare class FormSchemaBuilderService { private i18n; buildForm(schema: FieldSchemaDef[], i18nNamespace: string, formName: string, submitLabelKey?: string, state?: ComponentState): FormMetadata; protected buildField(def: FieldSchemaDef, i18nNamespace: string, state: ComponentState): InputMetadata; createFieldSchema(field: Partial & Pick, order: number): FieldSchemaDef; createFormSchemaConfig(input: { schemaId: string; schemaVersion?: string; /** Título del formulario. Lo escribe la organización: no se traduce. */ label?: string; fields: FieldSchemaDef[]; canonicalAliases?: CanonicalFieldAliases; }): FormSchemaConfig; buildCanonicalMap(fields: FieldSchemaDef[], aliases?: CanonicalFieldAliases): Record; toToken(value: string): string; uniqueFieldName(value: string, existingFields: Array>): string; protected parseValidators(def: FieldSchemaDef): ValidatorFn[]; defaultValidatorsFor(type: string, required: boolean): string[]; private normalizeOptions; protected parseInputType(typeStr: string): InputType; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }