import { type ReactNode } from "react"; export type SectionVariant = "open" | "group" | "tiles"; export declare const SectionVariantContext: import("react").Context; /** True inside a grouped Section's card, so nested lists don't draw a second card. */ export declare const SectionCardContext: import("react").Context; /** * Sets the default variant for every SectionStack and Section below it. The * settings shell provides `group`, so every settings page gets grouped cards. */ export declare function SectionVariantProvider({ variant, children, }: { variant: SectionVariant; children?: ReactNode | undefined; }): import("react").JSX.Element; /** * How a resource list should hold itself here: `card` when the page groups its * sections into cards but the list is not already inside one, `inside` when it * sits in a grouped Section's card, `open` otherwise. */ export declare function useSectionListFrame(): "card" | "inside" | "open"; /** * A dialog, sheet or other overlay opened from inside a settings card starts * fresh: its sections are open again and its lists and choices draw normally. */ export declare function SectionFrameReset({ children }: { children?: ReactNode; }): import("react").JSX.Element;