import React from "react"; export interface Drawer { id: string; element: JSX.Element; } export type Drawers = Drawer[]; export interface DrawerContext { drawers: Drawers; isActive: (id: string) => boolean; setActive: (id: string | undefined) => void; registerDrawer: (id: string, drawer: JSX.Element) => () => void; } export interface DrawerProviderProps { children: React.ReactNode; } export declare const DrawersProvider: ({ children }: DrawerProviderProps) => React.JSX.Element; export declare function useDrawers(): DrawerContext;