declare type RequireOnlyOne = Pick> & { [K in Keys]-?: Required> & Partial, undefined>>; }[Keys]; export interface InternalModelShape { id?: number; uuid?: string; [propName: string]: any; } export declare type InternalModel = RequireOnlyOne; export default class MemServerModel { static _DB: {}; static _modelDefinitions: {}; static _attributes: {}; static _defaultAttributes: {}; static _embedReferences: {}; static primaryKey: string | null; static get DB(): Array; static get attributes(): Set; static set defaultAttributes(value: object); static get defaultAttributes(): object; static set embedReferences(references: Object); static get embedReferences(): Object; static resetDatabase(fixtures?: Array): Array; static count(): number; static find(param: Array | number): Array | InternalModel | undefined; static findBy(options: object): InternalModel | undefined; static findAll(options?: {}): Array; static insert(options?: InternalModelShape): InternalModel; static update(record: InternalModel): InternalModel; static delete(record?: InternalModel): InternalModel | InternalModel[]; static embed(relationship: any): object; static serializer(objectOrArray: InternalModel | Array): ({} & InternalModel) | ({} & InternalModel)[]; static serialize(object: InternalModel): {} & InternalModel; static getRelationship(parentObject: any, relationshipName: string, relationshipModel?: InternalModel): any; } export declare function resetMemory(DefaultBaseModel: any): void; export {};