import { ComponentType } from 'react'; import { MessageProps } from './message'; export default function show(Component: ComponentType>, props?: P): Promise;