import type React from "react"; import { type RefObject } from "react"; import { type AnimatedBoxProps } from "../Box/Box"; type PredefinedSidebarWidth = "xs" | "s" | "m" | "l" | "xl"; type SidebarWidth = PredefinedSidebarWidth | (string & {}); export type SidebarProps = Omit & { children?: React.ReactNode; onClose?: () => void; title?: string; isOpen?: boolean; footer?: React.ReactNode; closeButtonTestId?: string; closeButtonAriaLabel?: string; offset?: string; triggerRef?: RefObject; duration?: number; closeOnOutsideClick?: boolean; overlay?: boolean | "show" | "hide" | "transparent"; disableScroll?: boolean; hideCloseButton?: boolean; width?: SidebarWidth; helpText?: React.ReactNode; renderHelpText?: () => React.ReactNode; }; declare function Sidebar({ p, width, children, onClose, title, isOpen, footer, closeButtonTestId, closeButtonAriaLabel, offset, triggerRef, duration, top, closeOnOutsideClick, overlay, disableScroll, hideCloseButton, zIndex, helpText, renderHelpText, ...props }: SidebarProps): import("react/jsx-runtime").JSX.Element; export default Sidebar;