/**
 * Playwright Codegen Parser
 *
 * Parses Playwright-generated JavaScript code and converts it to TestBlocks TestStep format.
 * Converts Playwright locators to CSS selectors where possible.
 */
import { TestStep } from '../core';
/**
 * Parse Playwright-generated code and convert to TestBlocks TestStep array
 * @param code - The Playwright-generated code
 * @param testIdAttribute - The attribute used for test IDs (default: 'data-testid')
 */
export declare function parsePlaywrightCode(code: string, testIdAttribute?: string): TestStep[];
/**
 * Check if the code looks like valid Playwright test code
 */
export declare function isValidPlaywrightCode(code: string): boolean;
