/** * WHICH SURFACE a heading is standing on — the one fact the fixed heading ramp * needs, answered by the CONTAINER rather than the call site. * * `page` — the flat canvas. A `#` identity band (`PageHeader`, `RecordSummary`) * tops the outline, so a section title is the `##` below it. * * `panel` — a self-contained pane whose own chrome title caps at `lg`, or which * has no title at all: a `Dialog`, `Drawer` or `Popover` body, and equally a * side panel docked beside a page. */ export type HeadingSurface = "page" | "panel"; /** * Published by the CONTENT REGIONS — `DrawerScrollArea`, `DialogScrollArea`, * `PopoverContent` — and NOT by `Drawer` or `Dialog` themselves, because an * overlay is used two ways: as a PANEL, which steps down, and as a FRAME around * a whole page surface that brings its own `#` identity band and must not. The * content regions already distinguish those two by who owns the gutter. * * **A host that builds its own pane publishes it directly** — wrap the pane's * content in ``. * * The value is FLAT, never a depth counter: a popover opened from inside a * drawer is still one rung down, not two. */ export declare const HeadingSurfaceContext: import("react").Context; /** The surface this heading is standing on. `page` unless a pane says otherwise. */ export declare function useHeadingSurface(): HeadingSurface;