import { type ImageLimits } from "@intentic/base/image-fit"; import type { CdpSession } from "./cdp.js"; import { type FramesOptions, type RawFrames } from "./frames.js"; import { type PageShot } from "./types.js"; interface Evaluated { readonly result?: { readonly type?: string; readonly value?: unknown; readonly unserializableValue?: string; readonly description?: string; }; readonly exceptionDetails?: { readonly text?: string; readonly exception?: { readonly description?: string; }; }; } export declare const valueText: (result: Evaluated["result"]) => string; export declare const evaluateWithin: (session: CdpSession, expression: string, timeoutMs: number) => Promise; export declare const measureFrames: (session: CdpSession, script: string, options: FramesOptions) => Promise; export declare const pngSize: (png: Buffer) => { readonly width: number; readonly height: number; }; export declare const captureScreenshot: (session: CdpSession, selector: string | undefined, limits?: ImageLimits) => Promise; export {}; //# sourceMappingURL=measure.d.ts.map