export interface RegisteredComponents { backButton: boolean; } interface SideDrawerContextValue { readonly actionPortal?: HTMLElement | null; readonly titlePortal?: HTMLElement | null; readonly toolbarPortal?: HTMLElement | null; readonly backPortal?: HTMLElement | null; readonly footerPortal?: HTMLElement | null; readonly components: RegisteredComponents; readonly registerComponent: (key: keyof RegisteredComponents) => void; readonly unRegisterComponent: (key: keyof RegisteredComponents) => void; } declare const SideDrawerContext: import("react").Context; declare function useSideDrawerContext(): SideDrawerContextValue; export { SideDrawerContext, useSideDrawerContext };