import { default as React, ComponentPropsWithoutRef } from 'react'; import { SideNavHeader } from './SideNavHeader'; import { SideNavFooter } from './SideNavFooter'; import { SideNavBody } from './SideNavBody'; import { SideNavActionList } from './SideNavActionList'; export declare const DRAWER_LAYOUT: "drawer"; export declare const RAIL_LAYOUT: "rail"; export declare const HIDDEN_LAYOUT: "hidden"; export declare const NO_LAYOUT: false; export declare const OPAQUE_BACKDROP: "opaque"; export declare const TRANSPARENT_BACKDROP: "transparent"; export declare const LOCAL_STORAGE_SIDE_NAV_WIDTH_VAR_NAME: string; export declare const SideNavBackdrops: { Opaque: "opaque"; Transparent: "transparent"; }; export type SideNavBackdrop = typeof SideNavBackdrops[keyof typeof SideNavBackdrops]; export declare const SideNavOpenLayouts: { Drawer: "drawer"; Rail: "rail"; None: false; }; export type OpenLayout = typeof SideNavOpenLayouts[keyof typeof SideNavOpenLayouts]; export declare const SideNavClosedLayouts: { Rail: "rail"; Hidden: "hidden"; None: false; }; export type ClosedLayout = typeof SideNavClosedLayouts[keyof typeof SideNavClosedLayouts]; export interface SideNavProps extends ComponentPropsWithoutRef<'aside'> { /** * Specify an opaque or transparent backdrop when the SideNav drawer is open and `floating` is set to `true`. On mobile, the backdrop is always set to opaque * @default 'opaque' */ backdrop?: SideNavBackdrop; /** * The content of the SideNav */ children?: React.ReactNode; /** * Specify the layout of the SideNav when closed * @default false */ closedLayout?: ClosedLayout; /** * Specify if SideNav is absolutely positioned * @default false */ floating?: boolean; /** * Specify the layout of the SideNav when open * @default 'drawer' */ openLayout?: OpenLayout; /** * Specify if the drawer is resizable * @default false */ resizable?: boolean; } export declare function Root(props: SideNavProps): import("react/jsx-runtime").JSX.Element; export declare const SideNav: typeof Root & { displayName: string; Body: typeof SideNavBody; ActionList: typeof SideNavActionList; Header: typeof SideNavHeader; Footer: typeof SideNavFooter; };