import { t as BlockOptions } from "./api-DwlbDD0P.mjs"; //#region src/core.d.ts type Expect = { stdout: string[]; stderr: string[]; exit: number | undefined; }; type Step = { cmd: string; expected: Expect; }; declare function parseInfo(info: string): BlockOptions; declare function parseBlock(body: string): { commands: string[]; expect: Expect; steps: Step[]; }; declare function splitNorm(s: string): string[]; /** Remove trailing empty strings from an array (mutates in place) */ declare function trimTrailingEmptyLines(lines: string[]): void; declare function compileExpectedLineToRegex(line: string, caps: Record): { re: RegExp; keys: string[]; }; declare function matchLines(expectedRaw: string[], actualRaw: string[], caps: Record): { ok: boolean; msg?: string; }; declare function hasPatterns(text: string): boolean; declare function hintMismatch(kind: "stdout" | "stderr", exp: string[], act: string[], _detail?: string): string; //#endregion export { compileExpectedLineToRegex, hasPatterns, hintMismatch, matchLines, parseBlock, parseInfo, splitNorm, trimTrailingEmptyLines };