import Vue, { VNodeData, ComponentOptions, VNodeChildren } from 'vue' export interface CreatePortalParams extends VNodeData { context?: Vue component: typeof Vue | ComponentOptions config?: { autoDestroy?: boolean } children?: VNodeChildren } export declare type MmPortalFactory = (options: CreatePortalParams) => Vue