import Store from './store.js'; interface OrmOptions { dbType?: string; } export interface SqlDb { init(): Promise; startup(): Promise; shutdown(): Promise; persist(operation: string, model: string, context: unknown, response: unknown): Promise; findRecord(modelName: string, id: unknown): Promise; findAll(modelName: string, conditions?: Record): Promise; } export interface OrmDB { record: unknown; save(): Promise; init(): Promise; } export default class Orm { static initialized: boolean; static relationships: Map>; static store: Store; static instance: Orm; static ready: unknown[]; models: Record; serializers: Record; views: Record; transforms: Record unknown>; warnings: Set; options: OrmOptions; sqlDb?: SqlDb; db?: OrmDB | SqlDb; constructor(options?: OrmOptions); init(): Promise; startup(): Promise; shutdown(): Promise; static get db(): OrmDB | SqlDb; getRecordClasses(modelName: string): { modelClass: unknown; serializerClass: unknown; }; isView(modelName: string): boolean; warn(message: string): void; } export declare const store: Store; export declare const relationships: Map>; export {};