import { Breakpoint } from "@mui/system"; import { HeaderBuilder } from "../Header/HeaderBuilder"; import { Responsive } from "../utils/types"; import { ResponsiveBuilder } from "../shared/ResponsiveBuilder"; export declare type DrawerAnchor = "left" | "right"; export declare type FixedInsetSidebarConfig = { /** * css position of the root element */ position: "fixed"; /** * width of the sidebar (support all CSS units) */ width: number | string; /** * css top of the body element */ top?: number | string; /** * If header has `position: relative`, when scroll the page will cause this sidebar to stick with header */ headerMagnetEnabled?: boolean; }; export declare type AbsoluteInsetSidebarConfig = { /** * css position of the root element */ position: "absolute"; /** * width of the sidebar (support all CSS units) */ width: number | string; /** * css top of the body element */ top?: number | string; }; export declare type StickyInsetSidebarConfig = { /** * css position of the root element */ position: "sticky"; /** * width of the sidebar (support all CSS units) */ width: number | string; /** * css top of the body element */ top?: number | string; }; export declare type InsetSidebarConfig = FixedInsetSidebarConfig | AbsoluteInsetSidebarConfig | StickyInsetSidebarConfig; export declare type InsetSetupParams = { config: Responsive; hidden?: Breakpoint[] | boolean; }; export declare class InsetSidebarBuilder extends ResponsiveBuilder { anchor?: DrawerAnchor; effectedBy: { header?: HeaderBuilder; }; constructor(params: InsetSetupParams); getFixedArea(modifier?: number): any; getSxBody(): { marginRight?: any; paddingRight?: any; marginLeft?: any; paddingLeft?: any; height: any; width: any; position: any; top: any; }; getSxRoot(): { display: any; width: any; }; getOccupiedSpace(): any; }