vibe-tools
Version:
CLI tools for AI agents
21 lines (20 loc) • 730 B
TypeScript
/**
* Checks if Playwright is available and returns its version information
* @returns Object containing availability status and version info
*/
export declare function checkPlaywright(): Promise<{
available: boolean;
version?: string;
error?: string;
}>;
/**
* Ensures Playwright is available before proceeding
* @returns true if Playwright is available, throws error if not
*/
export declare const ensurePlaywright: () => Promise<boolean>;
/**
* Ensures Playwright browsers (specifically Chromium) are installed
* Uses the programmatic API to avoid version mismatches
* @returns true if installation was successful, false otherwise
*/
export declare const ensurePlaywrightBrowsers: () => Promise<boolean>;