import { ExistingBrowser } from "./existing-browser";
import { Length, Rect, Size } from "./isomorphic";
interface BrowserFeatures {
    needsCompatLib: boolean;
    pixelRatio: number;
    innerWidth: Length<"css", "x">;
}
export interface CalibrationResult extends BrowserFeatures {
    viewportArea: Rect<"image", "device">;
    screenshotSize: Size<"device">;
    usePixelRatio: boolean;
}
export declare class Calibrator {
    private _cache;
    private _script;
    constructor();
    calibrate(browser: ExistingBrowser): Promise<CalibrationResult>;
    private _findMarkerAreaInImage;
}
export {};
