import type { UILayer } from "../../layers/UILayer/UILayer"; import type { UILayerElement, UIPointElement } from "../../miscellaneous/shared"; import type { UISolverWrapperView } from "../../wrappers/UISolverWrapper/UISolverWrapper.Internal"; import type { UIAnchorOptions } from "./UIAnchor.Internal"; /** Point in 2D space with constraint-based positioning */ export declare class UIAnchor implements UILayerElement, UIPointElement { readonly layer: UILayer; /** Identifier for debugging */ name: string; /** Solver variable for x coordinate */ readonly xVariable: number; /** Solver variable for y coordinate */ readonly yVariable: number; protected readonly solverWrapper: UISolverWrapperView; /** * Creates a new UIAnchor instance. * * @param layer - Layer containing this anchor * @param options - Configuration options */ constructor(layer: UILayer, options?: Partial); /** X coordinate relative to layer origin (bottom-left) */ get x(): number; /** Y coordinate relative to layer origin (bottom-left) */ get y(): number; /** X coordinate relative to layer origin (bottom-left) */ set x(value: number); /** Y coordinate relative to layer origin (bottom-left) */ set y(value: number); /** Removes anchor and frees resources */ destroy(): void; }