import type { Side } from "./types"; export interface SheetPanelContextValue { /** Pop the top sheet (go back one level) */ back: () => void; /** Close the entire sheet stack */ close: () => void; /** Whether a Sheet.Description is mounted inside this panel */ hasDescription: boolean; /** Whether a Sheet.Title is mounted inside this panel */ hasTitle: boolean; /** Whether the stack has more than one sheet */ isNested: boolean; /** Whether this is the top (active) sheet */ isTop: boolean; /** Unique ID prefix for this panel (for aria-labelledby linking) */ panelId: string; /** Called by Sheet.Description on mount to register its presence */ registerDescription: () => () => void; /** Called by Sheet.Title on mount to register its presence */ registerTitle: () => () => void; /** Current resolved side (left/right/bottom) */ side: Side; } export declare const SheetPanelContext: import("react").Context; /** * Access the current sheet panel's context. * Must be called inside a component rendered by the sheet stack. */ export declare const useSheetPanel: () => SheetPanelContextValue; //# sourceMappingURL=panel-context.d.ts.map