import { ActiveRecordClassType } from '@deepkit/orm';
import { NewEntityFields } from '../database';
export type StringifiedDates<T> = {
    [K in keyof T]: NonNullable<T[K]> extends Date ? string : T[K];
};
type IDefinedMock<T> = T & {
    [SchemaSymbol]: ActiveRecordClassType;
};
export type TestFields<T extends ActiveRecordClassType> = StringifiedDates<NewEntityFields<InstanceType<T>>>;
export type MockData<T extends ActiveRecordClassType> = IDefinedMock<TestFields<T>>;
declare const SchemaSymbol: unique symbol;
export declare const defineEntityFixtures: <T extends ActiveRecordClassType, K extends PropertyKey>(cls: T, data: { [P in K]: TestFields<T>; }) => { [P in K]: MockData<T>; };
export declare function prepareEntityFixtures<T extends ActiveRecordClassType>(entity: T, data: NewEntityFields<InstanceType<T>>): any;
export declare function loadEntityFixtures(entities: IDefinedMock<any>[]): Promise<void>;
export {};
export declare type __ΩStringifiedDates = any[];
export declare type __ΩTestFields = any[];
export declare type __ΩMockData = any[];
//# sourceMappingURL=fixtures.d.ts.map