import type Rectangle from '../models/Layer/Rectangle'; /** * 判断文本是否可见 * @param textIndent * @param overflowX * @param overflowY */ export declare function isTextVisible({ textIndent, overflowX, overflowY, }: CSSStyleDeclaration): boolean; /** * 判断节点是否不可见 * @param node * @param width * @param height * @param position * @param overflowX * @param overflowY * @param opacity * @param visibility * @param display * @param clip */ export declare function isNodeVisible(node: Element, { width, height }?: DOMRect, { position, overflowX, overflowY, opacity, visibility, display, clip, }?: CSSStyleDeclaration): boolean; /** * 判断是否是不可见的样式 * @param shape */ export declare const isVisibleShape: (shape: Rectangle) => boolean;