export default function (props: {} | undefined, Message: any): { close: () => void; };