import { E as EntityDecoratorArgs, U as UiDecoratorArgs, a as UiFieldDecoratorArgs, V as ValidateEntityDecoratorArgs, b as ValidateFieldDecoratorArgs, F as FieldDecoratorArgs, C as ComputedDecoratorArgs, S as Schema, D as DriverConstructor, c as Driver, d as ComputedContext, R as RadsRequestContext, e as CreateRadsDbArgs, f as CreateRadsDbClientArgs } from './types-70e9b2d4.js'; export { O as Change, x as ComputedContextGlobal, k as CreateRadsArgsDrivers, m as CreateRadsDbArgsNormalized, ao as DeepKeys, aj as DeepPartial, ag as DeepPartialArrayItem, ae as DeepPartialWithNulls, af as DeepPartialWithNullsItem, ah as DeepPartialWithoutNulls, ai as DeepPartialWithoutNullsItem, ap as EntityMethods, w as EnumDefinition, v as FieldDefinition, J as FileSystemNode, u as FileUploadArgs, q as FileUploadDriver, p as FileUploadResult, H as GenerateClientNormalizedOptions, B as GenerateClientOptions, aa as Get, $ as GetAggArgs, a0 as GetAggArgsAgg, a3 as GetAggArgsAny, a6 as GetAggResponse, _ as GetArgs, a2 as GetArgsAny, a5 as GetArgsInclude, Q as GetManyArgs, a1 as GetManyArgsAny, a7 as GetManyResponse, a8 as GetResponse, ab as GetResponseInclude, ac as GetResponseIncludeSelect, ad as GetResponseNoInclude, s as GetRestRoutesArgs, G as GetRestRoutesOptions, t as GetRestRoutesResponse, al as InverseRelation, an as JsonPutOperations, M as MinimalDriver, am as Put, P as PutEffect, g as RadsConfig, h as RadsConfigDataSource, r as RadsDbInstance, N as RadsFeature, y as RadsHookDoc, L as RadsUiSlotDefinition, K as RadsUiSlotName, I as RadsVitePluginOptions, ak as Relation, i as RequiredFields, l as RestDriverOptions, A as RestFileUploadDriverOptions, n as SchemaLoadResult, o as SchemaValidators, z as SqlDriverOptions, a9 as StoredDocumentFields, T as TypeDefinition, j as ValidateStringDecoratorArgs, X as VerifyManyArgs, a4 as VerifyManyArgsAny, Y as VerifyManyResponse, Z as Where, W as WhereJsonContains } from './types-70e9b2d4.js'; import { RadsDb } from '_rads-db'; export { RadsDb } from '_rads-db'; import 'mssql'; declare function entity(meta?: EntityDecoratorArgs): (classConstructor: new () => T, _ctx?: ClassDecoratorContext) => void; declare function ui(args: T extends new () => any ? UiDecoratorArgs> : UiFieldDecoratorArgs): (classConstructor: T, _ctx?: ClassDecoratorContext | ClassFieldDecoratorContext) => void; declare function validate(args: T extends new () => any ? ValidateEntityDecoratorArgs : ValidateFieldDecoratorArgs): (classConstructor: T, _ctx?: ClassDecoratorContext | ClassFieldDecoratorContext) => void; declare function field(meta?: FieldDecoratorArgs): (a: any, b?: ClassFieldDecoratorContext) => void; declare function precomputed(meta?: ComputedDecoratorArgs): (a: any, b?: ClassFieldDecoratorContext | ClassDecoratorContext) => void; declare function computed(meta?: ComputedDecoratorArgs): (a: any, b?: ClassFieldDecoratorContext | ClassDecoratorContext) => void; declare function keepHistory(): (a: any, b?: ClassFieldDecoratorContext) => void; declare function getDriverInstance(schema: Schema, key: string, driverConstructor: DriverConstructor, driverInstances: Record): Driver; declare function handlePrecomputed(context: ComputedContext, docs: any[], ctx: RadsRequestContext): Promise; declare function beforePut(items: { oldDoc: any; doc: any; }[], ctx: RadsRequestContext, computedContext: ComputedContext): Promise; declare function afterPut(items: { oldDoc: any; doc: any; }[], ctx: RadsRequestContext, computedContext: ComputedContext): Promise; /** Performs immutable deep merge */ declare function merge>(target: T, source: any): T; declare function diff(object: any, base: any, includeDenormFields?: boolean): any; declare function cleanEntity(obj: Record, isChange?: boolean): void; /** * Creates instance of rads db - object that provides access to all entities. * Intended to be used on the backend. On the client you may want to opt for "createRadsDbClient" instead. * */ declare function createRadsDb(dataSourceKey: T, args?: CreateRadsDbArgs): RadsDb[T]; /** * Creates instance of rads db client - object that provides access to all entities. * Intended to be used on the frontend. Uses "fetch" to communicate with the server's API. * It is a shortcut for `createRadsDb('db', { driver: radsRestApi(), noComputed: true, noCustomDrivers: true })` */ declare function createRadsDbClient(dataSourceKey: T, args?: CreateRadsDbClientArgs): RadsDb[T]; export { ComputedContext, ComputedDecoratorArgs, CreateRadsDbArgs, CreateRadsDbClientArgs, Driver, DriverConstructor, EntityDecoratorArgs, FieldDecoratorArgs, RadsRequestContext, Schema, UiDecoratorArgs, UiFieldDecoratorArgs, ValidateEntityDecoratorArgs, ValidateFieldDecoratorArgs, afterPut, beforePut, cleanEntity, computed, createRadsDb, createRadsDbClient, diff, entity, field, getDriverInstance, handlePrecomputed, keepHistory, merge, precomputed, ui, validate };