import "./section_stack.css"; import type * as React from "react"; import { useRender } from "@base-ui/react/use-render"; import { type StyleProps } from "./style_props"; interface StackProps extends StyleProps { children?: React.ReactNode; /** Defaults per altitude (on for sections, off for subsections); the override rule is on * `SubsectionStack`. */ divided?: boolean; testID?: string; ref?: React.Ref; render?: useRender.RenderProp; } export type SectionStackProps = StackProps; /** A flat page's content column, owning one beat with a `Divider` between top-level blocks. No knobs, so * every flat page shares one rhythm. Two closed disclosures take no beat, since a closed one is a line; * the stack reads their state in `section_stack.css`. */ export declare function SectionStack(props: SectionStackProps): React.JSX.Element; export type SubsectionStackProps = StackProps; /** A tighter beat inside a `Section`. Space-only while groups are short, since hairlines belong to the * section level; turn `divided` on once they are long. Length decides, not titles. */ export declare function SubsectionStack(props: SubsectionStackProps): React.JSX.Element; export {};