import { type RefObject } from 'react'; /** * A length token (`--spacing-lg`) in px, as `context` resolves it, for an * API that takes only a number: Radix `collisionPadding`, say. The token * is read from the element (so a theme root or a host override applies) * and may be px (host-compat writes px) or rem (the kit's own sheet). * Anything else, or no DOM, gives `fallback`. */ export declare function lengthTokenPx(token: string, context: Element | null, fallback: number): number; /** {@link lengthTokenPx} for the element behind `ref`, read after mount. */ export declare function useLengthTokenPx(token: string, ref: RefObject, fallback: number): number; //# sourceMappingURL=length-token.d.ts.map