import { DrawerProps } from './Drawer'; import { DrawerInstance, DrawerOptions } from './type'; export type DrawerPluginMethod = (options: boolean | DrawerProps) => DrawerInstance; export declare const DrawerPlugin: (options: any) => { hide: () => any; show?: undefined; update?: undefined; destroy?: undefined; } | { show: () => void; hide: () => void; update(updateOptions: DrawerOptions): void; destroy: () => void; };