import * as React from 'react'; export declare type PanelType = 'top' | 'right' | 'bottom' | 'left'; declare type Nullable = T | null; export interface SliderProps { type: PanelType; size: number; panelContainerClassName?: string; panelClassName?: string; isOpen: boolean; children: Nullable; noBackdrop?: boolean; backdropClicked?: (e: React.MouseEvent) => void; onOpen?: (node: HTMLElement, isAppearing: boolean) => void; onOpening?: (node: HTMLElement, isAppearing: boolean) => void; onOpened?: (node: HTMLElement, isAppearing: boolean) => void; onClose?: (node: HTMLElement) => void; onClosing?: (node: HTMLElement) => void; onClosed?: (node: HTMLElement) => void; } declare const SlidingPanel: React.FunctionComponent; export default SlidingPanel;