export type TestScriptChoice = { name: string; command: string; }; export declare function isDaxtaWrappedScript(command: string | undefined): boolean; /** package.json scripts that look like runnable test entrypoints */ export declare function listTestScripts(scripts: Record | undefined): TestScriptChoice[]; /** Extract `--config` / `-c` path from a script command string */ export declare function extractJestConfigFromCommand(command: string): string | null; /** * Ask which package.json script to wire. * Returns script name (e.g. test:integration) or null to skip. */ export declare function resolveTestScript(options: { cwd: string; scripts?: Record; configured?: string; yes?: boolean; flag?: string; }): Promise; /** Persist test wiring + optional jestConfig path */ export declare function upsertTestWiringInConfig(cwd: string, wiring: { testScript: string; testCommand: string; jestConfig?: string; }, dryRun?: boolean): string; /** * @deprecated wrapping scripts made DAxTA the parent process — do not use. * Kept for migrate unwrap only. */ export declare function wrapUserTestScript(scripts: Record, scriptName: string): { original: string; changed: boolean; };