import React from 'react'; import { GlobalContextParams } from '../context-provider'; export interface ToastBaseProps { getContainer?: () => HTMLElement; onClose?: (scene?: string) => void; content?: React.ReactNode; visible?: boolean; close?: (e: any) => void; type?: string; loading?: boolean; } export declare function toast

(Component: React.FunctionComponent

, type?: string): (originConfig: string | Pick>, context?: GlobalContextParams | undefined) => { update: (newConfig: Pick>) => void; close: () => void; hide: () => void; };