import { Coordinates, DropMarkerPosition, DropMarkerPositionArgs, InRectStats } from '../models/Positioning'; import { LookupTable } from '@craftercms/studio-ui/models/LookupTable'; import { DropZone } from '../models/InContextEditing'; import { ValidationResult } from '@craftercms/studio-ui/models/ContentType'; import { CSSProperties } from 'react'; import { ContentTypeDropTarget } from '@craftercms/studio-ui/models/ContentTypeDropTarget'; export declare function sibling(element: HTMLElement, next: boolean): Element; export declare function getDropMarkerPosition(args: DropMarkerPositionArgs): DropMarkerPosition; export declare function splitRect(rect: DOMRect, axis?: string): DOMRect[]; export declare function insertDropMarker({ $dropMarker, insertPosition, refElement }: { $dropMarker: JQuery; insertPosition: string; refElement: HTMLElement | JQuery | string; }): void; export declare function getDistanceBetweenPoints(p1: Coordinates, p2: Coordinates): number; export declare function findClosestRect(parentRect: DOMRect, subRects: DOMRect[], coordinates: Coordinates): number; export declare function getChildArrangement(children: Element[], childrenRects: DOMRect[], selfRect?: DOMRect): string; export declare function getInRectStats(rect: DOMRect, coordinates: Coordinates, tolerancePercents?: Coordinates): InRectStats; export declare function getRelativePointerPositionPercentages(mousePosition: Coordinates, rect: DOMRect): Coordinates; export declare function isElementInView(element: Element, fullyInView?: boolean): boolean; export declare function addAnimation(element: Element | HTMLElement, animationClass: string): void; export declare function scrollToElement(element: Element, scrollElement: string, animate?: boolean): Element; export declare function scrollToDropTargets(dropTargets: ContentTypeDropTarget[], scrollElement: string, getElementRegistry: (id: number) => Element): void; export declare function updateDropZoneValidations(dropZone: DropZone, dropZones: DropZone[], validations: LookupTable): DropZone[]; export declare function getZoneMarkerStyle(rect: DOMRect, padding?: number): CSSProperties; export declare function fadeIn(el: HTMLElement): void; export declare function elementOffset(element: Element): { top: number; left: number; };