donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
10 lines • 471 B
TypeScript
import type { TbdSession } from './tbdTypes';
/**
* Processes the given tbd() sessions: for each affected source file,
* replaces `await page.tbd()` lines with the generated Playwright code.
*
* Replacements are applied **bottom-up** (highest line number first) so
* that earlier replacements don't shift the line numbers of later ones.
*/
export declare function flushTbdSessions(sessions: TbdSession[]): Promise<number>;
//# sourceMappingURL=fileRewriter.d.ts.map