import type { WebSocket } from "ws"; import type { Page, Script, Stylesheet } from "./page.js"; export interface PageManagerOptions { pageMaxAge: number; pageMaxCount: number; } export declare class PageManager { #private; constructor(options: PageManagerOptions); createPage(id: string, body: string, scripts?: Script[], stylesheets?: Stylesheet[]): Page; getPage(id: string): Page | null; updatePage(id: string, body: string): Page | null; addScripts(id: string, scripts: Script[]): Page | null; addStylesheets(id: string, stylesheets: Stylesheet[]): Page | null; removePage(id: string): boolean; addConnection(id: string, ws: WebSocket): boolean; removeConnection(id: string, ws: WebSocket): boolean; get pageCount(): number; removeAllPages(): number; } export declare const pageManager: PageManager; //# sourceMappingURL=page-manager.d.ts.map