import React, { CSSProperties } from 'react'; import PropTypes from 'prop-types'; import { ContextType } from './layout-context'; export interface ResponsiveMap { xs: string; sm: string; md: string; lg: string; xl: string; xxl: string; } export interface SiderProps { prefixCls?: string; style?: CSSProperties; className?: string; children?: React.ReactNode; breakpoint?: Array; onBreakpoint?: (screen: keyof ResponsiveMap, match: boolean) => void; 'aria-label'?: React.AriaAttributes['aria-label']; 'role'?: React.AriaRole; } declare class Sider extends React.PureComponent { static propTypes: { prefixCls: PropTypes.Requireable; style: PropTypes.Requireable; className: PropTypes.Requireable; breakpoint: PropTypes.Requireable; onBreakpoint: PropTypes.Requireable<(...args: any[]) => any>; 'aria-label': PropTypes.Requireable; role: PropTypes.Requireable; }; static defaultProps: { prefixCls: string; }; static contextType: React.Context; static elementType: string; unRegisters: Array<() => void>; context: ContextType; uniqueId: string; constructor(props: SiderProps); componentDidMount(): void; componentWillUnmount(): void; responsiveHandler(screen: keyof ResponsiveMap, matches: boolean): void; render(): React.JSX.Element; } export default Sider;