import React from 'react'; import type { ToastLayout, Toast } from '../use-toasts/use-toast'; export declare const defaultToastLayout: Required; export type UpdateToastsFunction = (fn: (toasts: Array) => Array) => any; export type UpdateToastsLayoutFunction = (fn: (layout: Required) => Required) => any; export type UpdateToastsIDFunction = (fn: () => string | null) => any; export interface HuiContextParams { toasts: Array; updateToasts: UpdateToastsFunction; toastLayout: Required; updateToastLayout: UpdateToastsLayoutFunction; lastUpdateToastId: string | null; updateLastToastId: UpdateToastsIDFunction; } export declare const HuiContent: React.Context; export declare const useHuiContext: () => HuiContextParams;