// @ts-nocheck import 'reflect-metadata'; import * as http from './decorators/http/http-decorators'; import * as base from './base-classes/base'; import * as controllerDecorator from './decorators/classes/controller-decorator'; import * as entityDecorator from './decorators/classes/entity-decorator'; import * as providerDecorator from './decorators/classes/provider-decorator'; import * as repositoryDecorator from './decorators/classes/repository-decorator'; import * as subscriberDecorator from './decorators/classes/subscriber-decorator'; import * as orm from './orm'; import * as models from './models'; import * as endpointContext from './endpoint-context'; import * as allSymbols from './symbols'; import { NgZone } from '@angular/core'; export { BaseRepository } from './base-classes/base-repository'; export { BaseController } from './base-classes/base-controller'; export { BaseProvider } from './base-classes/base-provider'; export { BaseSubscriber } from './base-classes/base-subscriber'; export { BaseEntity } from './base-classes/base-entity'; export { BaseContext } from './base-classes/base-context'; export { createContext } from './create-context'; export { inject } from './inject'; export { Models } from './models'; export * from './constants'; export { ClassHelpers } from './helpers/class-helpers'; export declare namespace Firedev { export import Response = models.Models.Http.Response; export import Http = http.Http; export import Base = base.Base; export import Orm = orm.Orm; const getResponseValue: (response: Response, options?: { req: import("express").Request; res: import("express").Response; }) => Promise; export import Controller = controllerDecorator.FiredevController; export import Entity = entityDecorator.FiredevEntity; export import Provider = providerDecorator.FiredevProvider; export import Repository = repositoryDecorator.FiredevRepository; export import Subscriber = subscriberDecorator.FiredevSubscriber; /** * @deprecated */ const isBrowser: boolean; /** * @deprecated */ const isNode: boolean; /** * @deprecated */ const isWebSQL: boolean; /** * @deprecated */ const isElectron: boolean; const createContext: , CTRL extends Record any>, ENTITY extends Record any>, REPO extends Record any>, PROVIDER extends Record any>, SUBSCRIBER extends Record any>>(configFn: (env: any) => models.Models.ContextOptions) => { types: { readonly controllers: CTRL; readonly repositories: REPO; readonly providers: PROVIDER; readonly subscribers: SUBSCRIBER; }; readonly contexts: CTX; readonly contextName: string; __ref(): Promise; readonly __refSync: endpointContext.EndpointContext; getClassInstance(ctor: new (...args: any[]) => T): T; getClass(ctor: new (...args: any[]) => T): new (...args: any[]) => T; initialize: () => Promise; }; const inject: (entity: () => new (...args: any[]) => T) => T; const initNgZone: (ngZone: NgZone) => void; const symbols: typeof allSymbols.Symbols; /** * @deprecated * use createContext instead */ const init: (options: { host: string; entities: Function[]; controllers: Function[]; }) => Promise<{ types: { readonly controllers: any; readonly repositories: Record any>; readonly providers: Record any>; readonly subscribers: Record any>; }; readonly contexts: { BaseContext: { types: { readonly controllers: Record any>; readonly repositories: Record any>; readonly providers: Record any>; readonly subscribers: Record any>; }; readonly contexts: Record; readonly contextName: string; __ref(): Promise; readonly __refSync: endpointContext.EndpointContext; getClassInstance(ctor: new (...args: any[]) => T): T; getClass(ctor: new (...args: any[]) => T): new (...args: any[]) => T; initialize: () => Promise; }; }; readonly contextName: string; __ref(): Promise; readonly __refSync: endpointContext.EndpointContext; getClassInstance(ctor: new (...args: any[]) => T): T; getClass(ctor: new (...args: any[]) => T): new (...args: any[]) => T; initialize: () => Promise; }>; }