export declare function scrollIntoView(element: HTMLElement, spot?: {
    top?: number;
    left?: number;
}, scrollMatches?: boolean): void;
type ScrollState = {
    right: boolean;
    down: boolean;
    lastX: number;
    lastY: number;
    _eventHandler: (event: Event) => void;
};
export declare function watchScroll(viewAreaElement: HTMLElement, callback: (state: ScrollState) => void, abortSignal?: AbortSignal): ScrollState;
export {};
