export interface InViewportOptions extends IntersectionObserverInit {
    once?: boolean;
    onEnter?: (element: HTMLElement) => void;
    onLeave?: (element: HTMLElement) => void;
}
export declare function inViewprot(element: HTMLElement, options?: InViewportOptions): Promise<boolean>;
