import type { Density } from "../controlSizes";
/** Set by `DensityScope`; `comfortable` outside one. */
export declare const DensityContext: import("react").Context<"comfortable" | "compact">;
/**
 * The nearest `DensityScope`'s density. The control sizes already follow it
 * through the `--spacing-control-*` tokens; read this for a dimension set from
 * JS (a glyph or a spinner sized to the control, `controlHeightsPx`).
 */
export declare function useDensity(): Density;
//# sourceMappingURL=DensityContext.d.ts.map