export interface VisibilityOptions {
    /** Element will be considered invisible if opacity set to '0' */
    opacity?: boolean;
    /** Element will be considered invisible if visibility set to 'hidden' */
    visibility?: boolean;
    /** Element will be considered invisible if it's not in viewport */
    viewport?: boolean;
}
/**
 * Checks if the specified element is visible
 * @param el - element to be checked
 * @param options - object of additional visibility options to include
 */
export declare function isVisible(el: Element, options?: VisibilityOptions): boolean;
/**
 * Checks if the specified element is inside the viewport
 * @param el - element to be checked
 * @param tolerance - the minimum area of intersection to consider the element visible
 */
export declare function isInViewport(el: Element, tolerance?: number): boolean;
