import { type PartialWithUndefined } from '@augment-vir/common';
/**
* Parameters for {@link resetPgliteDatabase}.
*
* @category Internal
*/
export type ResetPgliteDatabaseParams = PartialWithUndefined<{
/**
* Path to the PGlite database directory.
*
* @default
* - join('
', '.not-committed', 'pglite', 'dev')
* - join(process.cwd(), '.not-committed', 'pglite', 'dev')
*/
pgliteDatabaseDirPath: string;
/**
* Path to a Prisma config file (`prisma.config.ts`). Prisma v7 reads the schema location,
* datasource, and (if set) the `migrations.path` from this config. The migrations directory is
* derived from it: the config's `migrations.path` if set, otherwise the `migrations` folder
* next to the schema.
*
* @default join(process.cwd(), 'prisma.config.ts')
*/
prismaConfigPath: string;
}>;
/**
* Reset a dev database to your Prisma schema with a PGlite database. This is analogous to running
* `prisma migrate reset` with a plain Postgres database. Existing migrations are applied through
* the Prisma schema engine; if there are no migrations, the schema is pushed directly (like `prisma
* db push`).
*
* @category CLI
*/
export declare function resetPgliteDatabase(rawParams?: Readonly): Promise;