import { CompiledSchema, InferType, NonNullEntity, SchemaTypes } from ".."; import { SchemaFunction } from '../table/Function'; import { SchemaComputed } from '../table/Computed'; import { SchemaBase } from "./base/Base"; import { Enricher } from "../../types"; export declare class SchemaDefinition extends SchemaBase { instance: T; type: SchemaTypes; tableName: string; enrichers: Set>>; constructor(tableName: string, schema: T); append(builder: (d: { function: (fn: (entity: InferType>, tableName: string) => UU) => SchemaFunction; computed: (fn: (entity: InferType>, tableName: string) => UU) => SchemaComputed; }) => R): SchemaDefinition; onAfterSave(callback: (entity: InferType) => void): this; private _enrich; private _iterate; private _resolvePropertyValue; private _toJson; private _appendCloner; private _appendStripper; private _toNamedFunction; private _appendCompare; private _appendDeserializer; private _createIfAssignment; private _createIfConditionalPropertyAssignment; private _appendEnricher; compile(): CompiledSchema; }