import { FirebaseApp } from "firebase/app"; import { app } from "firebase-admin"; import { ModelType } from "./types"; declare abstract class _base { protected _id: string; static links(): (target: any, key: string) => void; static from(key: string): Promise; static find(key: string, value: string): Promise; static fetchAll(): Promise; abstract store(): Promise; abstract exists(): Promise; abstract update(): Promise; abstract delete(): Promise; } export declare abstract class ModelBase extends _base { protected _app: FirebaseApp; static forApp(app: FirebaseApp): ModelType; } export declare abstract class AdminModelBase extends _base { protected _app: app.App; static forApp(app: app.App): ModelType; } export {};