import { ButtonProps } from '../button';
import { LNode, AttachNode } from '../../common.type';
export interface TypeDrawerProps {
    attach?: AttachNode;
    body?: string | LNode;
    cancelBtn?: FooterButton;
    closeBtn?: string | boolean | LNode;
    closeOnEscKeydown?: boolean;
    closeOnOverlayClick?: boolean;
    confirmBtn?: FooterButton;
    default?: string | LNode;
    destroyOnClose?: boolean;
    footer?: boolean | LNode;
    header?: string | boolean | LNode;
    mode?: 'overlay' | 'push';
    placement?: 'left' | 'right' | 'top' | 'bottom';
    preventScrollThrough?: boolean;
    showInAttachedElement?: boolean;
    showOverlay?: boolean;
    size?: string;
    sizeDraggable?: boolean;
    visible?: boolean;
    zIndex?: number;
    onCancel?: (context: {
        e: MouseEvent;
    }) => void;
    onClose?: (context: DrawerCloseContext) => void;
    onCloseBtnClick?: (context: {
        e: MouseEvent;
    }) => void;
    onConfirm?: (context: {
        e: MouseEvent;
    }) => void;
    onEscKeydown?: (context: {
        e: KeyboardEvent;
    }) => void;
    onOverlayClick?: (context: {
        e: MouseEvent;
    }) => void;
}
export declare type FooterButton = string | ButtonProps | LNode;
export declare type DrawerEventSource = 'esc' | 'close-btn' | 'cancel' | 'overlay';
export interface DrawerCloseContext {
    trigger: DrawerEventSource;
    e: MouseEvent | KeyboardEvent;
}
