import { type IFieldTypeFactory } from "./abstractions.js"; import { DataFieldBuilder } from "./FieldBuilder.js"; import type { FieldTypeValidator } from "./fieldTypeValidator.js"; export interface IRefFieldBuilder extends DataFieldBuilder<"ref">, FieldTypeValidator.Required, FieldTypeValidator.ListMinLength, FieldTypeValidator.ListMaxLength { models(models: Array<{ modelId: string; }>): this; } declare class RefFieldTypeFactory implements IFieldTypeFactory { readonly type = "ref"; create(): IRefFieldBuilder; } export declare const RefFieldType: typeof RefFieldTypeFactory & { __abstraction: import("@webiny/di").Abstraction; }; declare module "../abstractions.js" { interface IFieldBuilderRegistry { ref(): IRefFieldBuilder; } } export {};