import * as React from 'react'; import { CallbackOrActions } from './PropsType'; export interface PromptParams { title?: React.ReactNode; content?: React.ReactNode; actions: CallbackOrActions; input: { text?: { defaultValue?: string; placeholder?: string; }; password?: { defaultValue?: string; placeholder?: string; }; }; } export default function prompt(params: PromptParams): { close: () => void; };