/// <reference types="react" />
import { HasRectangle } from '@testim/screenplay';
export declare type ImageStretchBehavior = 'content-fit' | 'zoom';
export declare function useBackgroundHighlight(step: HasRectangle, image: React.RefObject<HTMLImageElement>, container: React.RefObject<HTMLDivElement>, imageStretchBehavior: ImageStretchBehavior): readonly [undefined, undefined, undefined] | readonly [{
    width: number;
    height: number;
}, undefined, undefined] | readonly [{
    width: number;
    height: number;
}, {
    top: number;
    left: number;
    height: number;
    width: number;
}, {
    top: number;
    left: number;
} | undefined];
