import * as React from 'react'; import { Action } from './PropsType'; export interface AlertParams { title?: React.ReactNode; content?: React.ReactNode; actions?: Array>; } export default function alert(params: AlertParams): { close: () => void; };