import type { CdpSend } from "./types.js"; /** An isolated JavaScript world for one tab. Element properties written here are * per-world in Blink, so refs are invisible to the page and every ref must be * rebuilt when the world is lost. */ export declare class PageWorld { private frameId; private contextId; private generation; /** Bumped whenever the world is rebuilt; every ref minted before it is void. */ get worldGeneration(): number; invalidate(): void; reset(): void; warm(send: CdpSend, sessionId: string): Promise; /** Calls `fn` in the isolated world with `arg`, rebuilding the world once if it * was torn down by a navigation. Throws with the page-side message on error. */ call(send: CdpSend, sessionId: string, fn: string, arg: unknown): Promise; private run; private context; private mainFrame; } //# sourceMappingURL=world.d.ts.map