import './SidebarDeprecated.css'; import React from 'react'; import { AsTagAttribute } from '../../utils/types/AsTags'; import { PropsWithHTMLAttributes } from '../../utils/types/PropsWithHTMLAttributes'; declare const sidebarPropPosition: readonly ["right", "bottom", "left", "top"]; type SidebarPropPosition = (typeof sidebarPropPosition)[number]; export declare const sidebarPropSize: readonly ["s", "m", "l", "full", "1/2", "1/3", "1/4", "2/3", "3/4"]; export type SidebarPropSize = (typeof sidebarPropSize)[number]; export type SidebarProps = PropsWithHTMLAttributes<{ isOpen?: boolean; onClose?: () => void; onOpen?: () => void; hasOverlay?: boolean; onClickOutside?: (event: MouseEvent) => void; onEsc?: (event: KeyboardEvent) => void; position?: SidebarPropPosition; size?: SidebarPropSize; rootClassName?: string; children?: React.ReactNode; container?: HTMLDivElement | undefined; afterClose?: () => void; }, HTMLDivElement>; type SidebarContentProps = { className?: string; children: React.ReactNode; }; type SidebarActionsProps = { className?: string; children: React.ReactNode; }; export declare const cnSidebar: import("@bem-react/classname").ClassNameFormatter; declare const SidebarContent: React.FC; declare const SidebarActions: React.FC; interface SidebarComponent extends React.FC, AsTagAttribute<'div'> { Content: typeof SidebarContent; Actions: typeof SidebarActions; } export declare const Sidebar: SidebarComponent; export {};