import { TraceClient } from "@empiricalrun/llm"; import { TestGenPage } from "../page"; import { ActionArgs, ActionSchema } from "../types"; export declare class PlaywrightActions { private page; private stateVariables; private actionGenerators; private recordedActions; constructor(page: TestGenPage, stateVariables?: Record); executeAction(name: string | undefined, args: ActionArgs, trace?: TraceClient): Promise; getBrowsingActionSchemas(): ActionSchema[]; generateCode(): { code: string; importPaths: string[]; }; getLastCodeLines(count: number): string[]; /** * Function to check if the last three actions are repeated. * If the steps / code are repeated then it means the generation is stuck in a loop. * * @return {boolean} * @memberof PlaywrightActions */ isStuckInLoop(): boolean; isComplete(): boolean; getStateVariables(): Record; setStateVariables(stateVariables: Record): void; } //# sourceMappingURL=index.d.ts.map