import { IModel } from './types'; type createCallback = (type: string, id: string) => Promise; export declare function setModelCreateCallback(callback: createCallback): void; export declare function addModel(model: IModel): IModel; export declare function addModel(model: undefined): undefined; export declare function getModel(type: string, id: string): Promise; export declare function findModel(type: string, id: string): IModel | undefined; export declare function removeModel(model: IModel): void; export {};