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