import React from "react"; import { DrawerProps } from "@mui/material/Drawer"; import { PropsWithFunctionChildren, ContextValue } from "../Root/Root"; import { DrawerAnchor } from "./EdgeSidebarBuilder"; import { EDGE_SIDEBAR_ID } from "../utils/constant"; export declare type EdgeSidebarClassKey = "root" | "paperExpanded"; export interface EdgeSidebarProps extends Omit { anchor: "left" | "right"; } export declare const SidebarContext: React.Context<{ id: EDGE_SIDEBAR_ID; anchor: DrawerAnchor; expanded: boolean; setExpanded: React.Dispatch>; } | undefined>; export declare const useSidebarCtx: () => { id: EDGE_SIDEBAR_ID; anchor: DrawerAnchor; expanded: boolean; setExpanded: React.Dispatch>; }; export declare const useLooseSidebarCtx: () => { id: EDGE_SIDEBAR_ID; anchor: DrawerAnchor; expanded: boolean; setExpanded: React.Dispatch>; } | undefined; export declare const EdgeSidebar: ({ children, ...inProps }: PropsWithFunctionChildren) => JSX.Element | null;