type JestConfig = Record; export declare function loadJestJson(filePath: string): JestConfig; export declare function resolveJestConfigPath(cwd: string, options: { jestConfig?: string; scriptCommand?: string; }): string | null; /** * Inject DAxTA as a Jest plugin (setup + reporter). Does not wrap the test process. * Supports JSON and JS/CJS/MJS/TS config files. Adds globalSetup only when missing * (does not replace an existing user globalSetup). */ export declare function injectJestHooks(jestConfigPath: string, dryRun?: boolean): string[]; /** Restore package.json script if it was wrapped as `daxta test --yes`. */ export declare function unwrapDaxtaTestScript(scripts: Record, scriptName: string, originalCommand: string): boolean; /** Remove DAxTA Jest setup + reporter from a JSON/JS config. */ export declare function removeJestHooks(jestConfigPath: string, dryRun?: boolean): string[]; export {};