import type { UILayerElement, UIPlaneElement } from "../../miscellaneous/shared"; import { UISingleParameterConstraint } from "../UISingleParameterConstraint/UISingleParameterConstraint"; import type { UIWidthConstraintOptions } from "./UIWidthConstraint.Internal"; /** Fixes element width to constant value */ export declare class UIWidthConstraint extends UISingleParameterConstraint { readonly element: UIPlaneElement & UILayerElement; /** Solver constraint descriptor */ protected readonly constraint: number; /** Current width value */ private widthInternal; /** * @param element Element to constrain * @param options Width configuration. Defaults to element's current width. */ constructor(element: UIPlaneElement & UILayerElement, options?: Partial); /** Current width in world units */ get width(): number; /** Updates width */ set width(value: number); }