import type { FabricObject, Point } from 'fabric'; import type { AligningGuidelines } from '..'; import type { LineProps } from '../typedefs'; type CollectPointProps = { target: FabricObject; /** Operation points of the target element: top-left, bottom-left, top-right, bottom-right */ point: Point; /** Position using diagonal points when resizing/scaling. */ diagonalPoint: Point; /** Set of points to consider for alignment: [tl, tr, br, bl, center] */ list: Point[]; /** Change the zoom or change the size, determine by whether e.transform.action starts with the string "scale" */ isScale: boolean; /** Whether to change uniformly is determined by canvas.uniformScaling and canvas.uniScaleKey. */ isUniform: boolean; /** When holding the centerKey (default is altKey), the shape will scale based on the center point, with the reference point being the center. */ isCenter: boolean; /** tl、tr、br、bl、mt、mr、mb、ml */ corner: string; }; export declare function collectVerticalPoint(this: AligningGuidelines, props: CollectPointProps): LineProps[]; export declare function collectHorizontalPoint(this: AligningGuidelines, props: CollectPointProps): LineProps[]; export {}; //# sourceMappingURL=collect-point.d.ts.map