/** Content must exceed the viewport by this much before the minimap shows. */
export declare const MINIMAP_SHOW_HYSTERESIS_PX = 100;
/**
 * Height changes at an unchanged host width larger than this are treated as
 * content edits (invalidating the hidden-state memory) rather than layout
 * jitter from scrollbars or late-loading assets.
 */
export declare const MINIMAP_CONTENT_EDIT_TOLERANCE_PX = 4;
export type MiniMapVisibilityMeasurement = {
    /** Scroll height of the host page (bridge snapshot). */
    contentHeight: number;
    /** Host viewport width at the time of the measurement (bridge snapshot). */
    contentWidth?: number;
    /** Height of the editor's page iframe. */
    clientHeight: number;
};
export type MiniMapVisibilityMemory = {
    /** Last measurement taken while the minimap was hidden. */
    hidden?: {
        contentHeight: number;
        contentWidth?: number;
    };
    /** Last measurement taken while the minimap was shown. */
    shown?: {
        contentHeight: number;
        contentWidth?: number;
    };
};
export type MiniMapVisibilityResolution = {
    visible: boolean;
    memory: MiniMapVisibilityMemory;
};
export declare function resolveMiniMapVisibility(visible: boolean, measurement: MiniMapVisibilityMeasurement, memory: MiniMapVisibilityMemory): MiniMapVisibilityResolution;
