import * as React from 'react';
import { DrawerProps } from './Drawer';
import { DragDrawerProps } from './DragDrawer';
declare type OmitType = 'defaultOpen' | 'open' | 'level';
export declare type CloseType = (e: React.MouseEvent | React.KeyboardEvent) => void;
declare const drawerApi: {
    open: (children: (onClose: CloseType) => React.ReactNode, drawerConfig?: Omit<DrawerProps | DragDrawerProps, OmitType> | undefined, drag?: boolean | undefined) => void;
};
export default drawerApi;
