import type { ConsoleMessage, RequestResponse, ResponseResponse } from './responses.js'; /** * Maps each Page event name to the payload delivered to its listeners. * Backed by a GraphQL subscription that is opened lazily on first listen. */ export interface PageEventMap { /** Streams console output as the page emits it. Mirrors page.on('console'). */ console: ConsoleMessage; /** * Streams each network request as it is issued. Mirrors page.on('request'). * The optional filters mirror the request() mutation. */ request: RequestResponse; /** * Streams each network response as it is received. Mirrors page.on('response'). * The response body is NOT fetched by default (streaming many bodies is * expensive); request the `body` field in your selection set to trigger a * per-event fetch. */ response: ResponseResponse; } //# sourceMappingURL=events.d.ts.map