import type { DatabaseAdapter } from './engine';
import type { model as BaseModel } from './models';
import type { DatabaseSettingsType } from './types';
import type { Std } from '@palmares/core';
/**
 * Standalone database setup to be able to use it without Palmares framework.
 *
 * This tries to be as light weight as possible. What we do
 */
export declare function setDatabaseConfig(settings: DatabaseSettingsType & {
    std: Std | undefined;
    locations: {
        name: string;
        path: string;
        getModels: (engineInstance: DatabaseAdapter) => Promise<Record<string, ReturnType<typeof BaseModel>> | ReturnType<typeof BaseModel>[]> | Record<string, ReturnType<typeof BaseModel>> | ReturnType<typeof BaseModel>[];
        getMigrations: () => Promise<any> | any;
    }[];
}): {
    makeMigrations: (args: {
        isEmpty?: true;
        useTs?: true;
    }) => Promise<void>;
    migrate: () => Promise<void>;
    load: () => Promise<void>;
};
//# sourceMappingURL=standalone.d.ts.map