import { n as ShellOptions, r as ShellResult } from "../shell-CU60cw5X.mjs"; import { t as discoverMdTests } from "../shared-D5AvgkOg.mjs"; //#region src/spawn.d.ts /** * Execute a command and collect stdout/stderr with timeout. * Portable replacement for bunShell — works on both Bun and Node.js. */ declare function portableShell(cmd: string[], opts?: ShellOptions): Promise; //#endregion //#region src/integrations/bun.d.ts declare function registerMdTests(pattern?: string | string[]): Promise; declare function registerMdTestFile(filePath: string): Promise; /** * Execute command via portable spawn (Bun.spawn or Node.js child_process) * * @param cmd - Command array (e.g., ['bash', '-lc', script]) * @param opts - Execution options (cwd, env, timeout) * @returns Promise with stdout, stderr, exitCode */ declare const bunShell: typeof portableShell; //#endregion export { bunShell, discoverMdTests, registerMdTestFile, registerMdTests };