/// import { AlertProps } from "../alert"; import type { RenderProps } from "./toast.types"; import type { UseToastOptions } from "./use-toast"; export interface ToastProps extends UseToastOptions, Omit { onClose?: () => void; } /** * The `Toast` component is used to give feedback to users after an action has taken place. * * @see Docs https://v2.chakra-ui.com/docs/components/toast */ export declare const Toast: React.FC; export declare function createRenderToast(options?: UseToastOptions & { toastComponent?: React.FC; }): import("react").FC; export type UseToastPromiseOption = Omit; export type MaybeFunction = T | ((...args: Args) => T);