UNPKG

supapup

Version:

⚡ Lightning-fast MCP browser dev tool. Navigate → Get instant structured data. No screenshots needed! Puppeteer: 📸 → CSS selectors → JS eval. Supapup: semantic IDs ready to use. 10x faster, 90% fewer tokens.

30 lines 908 B
import { Page } from 'puppeteer'; interface ScreenshotChunk { id: string; totalChunks: number; chunks: string[]; metadata: { fullPage: boolean; quality: number; viewport?: { width: number; height: number; }; timestamp: Date; }; } export declare class ScreenshotTools { private page; private screenshotChunkData; initialize(page: Page | null): void; capture(params?: any): Promise<any>; capturePaginated(params?: any): Promise<any>; getChunk(id: string, chunk: number): Promise<any>; getLoadingSequenceFrame(id: string, frame: number): Promise<any>; private splitScreenshotData; cleanupOldChunks(maxAge?: number): void; getChunkData(): Map<string, ScreenshotChunk>; setChunkData(data: Map<string, ScreenshotChunk>): void; } export {}; //# sourceMappingURL=screenshot-tools.d.ts.map