import type { CliContext } from '../context/create-context.js'; export type UnitTestPackage = { /** Short name used on the command line, e.g. `stam test api`. Matches the package folder name. */ name: string; /** Path to the package relative to the repo root. */ path: string; /** Whether the package's tests connect to MySQL (checked via its vitest setup files). */ needsDatabase: boolean; typecheck?: boolean; }; export declare const unitTestPackages: UnitTestPackage[]; export declare function buildShared(context: CliContext): Promise; export declare function buildAll(context: CliContext): Promise; export declare function lint(context: CliContext): Promise; export declare function typecheck(context: CliContext): Promise; export declare function migrate(context: CliContext): Promise; /** * Bring the platform statistics database of the selected environment up to date. Only that database: * it keeps a migration history of its own, owned by the syncer that writes into it. */ export declare function migratePlatformStatistics(context: CliContext): Promise; /** * Run the statistics syncer until it is stopped, so the platform statistics keep following the * administration. In development every cron tick syncs, so this syncs continuously. */ export declare function runPlatformStatisticsSync(context: CliContext): Promise; export type UnitTestOptions = { /** Packages to run. Defaults to every unit-test package. */ packages?: UnitTestPackage[]; /** Vitest filename filters (substring match on the test file path). */ fileFilters?: string[]; /** Vitest `-t` test-name pattern. */ testNamePattern?: string; ci?: boolean; /** Skip the automatic `build:shared` step. */ skipBuild?: boolean; /** Drop the persistent test database volume before running (fresh start). */ clear?: boolean; }; export declare function runUnitTests(context: CliContext, options?: UnitTestOptions): Promise; export declare function testUnit(context: CliContext, ci: boolean): Promise; export declare function testE2e(context: CliContext, options: { ci: boolean; clear: boolean; extra?: boolean; ui: boolean; workers?: number; grep?: string; skipBuild?: boolean; localDb?: boolean; }): Promise; export declare function cleanBuild(context: CliContext, options?: { dryRun?: boolean; }): Promise; export declare function sharedBuildWatchCommand(): string; export declare function sharedBuildReadyCommand(): string; //# sourceMappingURL=monorepo-runner.d.ts.map