import type { DisplayObject } from '../../../shapes';
import type { Point } from '../../../types';
import type { SeriesAttr } from '../../../util';
import { Bounds } from './bounds';
export declare function isPointInsideRectangle(polygon: Point[], point: Point): boolean;
export declare function isRectangleBInsideA(rectA: Point[], rectB: Point[]): boolean;
/**
 * 检测 child 是否完全在 container 内部
 */
export declare function contain(container: Bounds, child: DisplayObject<any>, margin?: SeriesAttr): boolean;
