import { ReactNode } from 'react'; interface SideModalContextValue { titleId?: string; /** The close button to show in a header (null when the panel keeps its own). */ closeButton: ReactNode; /** The filled close button sits in the panel's corner, so a header leaves room for it. */ cornerButton: boolean; /** A SideModalHeader calls this on mount, so the panel moves its close button there and is named by the title. */ registerHeader: () => () => void; } export declare const SideModalContext: import('react').Context; export {};