///
import { StyledProvider, StyledViewport } from "./toast.styled";
import { Toast } from "./toast";
import type * as Stitches from "@stitches/react";
type ToastProps = React.ComponentProps & {
id: number;
};
interface ToastContext {
toasts: Array;
publish: (newToast: Omit) => () => void;
removeToastById: (id: ToastProps["id"]) => void;
}
declare const ToastContext: import("react").Context;
type ViewportVariants = Stitches.VariantProps;
interface Props extends React.ComponentProps {
position?: ViewportVariants["position"];
viewportProps?: React.ComponentProps;
}
export declare const ToastProvider: React.FC;
export declare const useToast: () => ToastContext;
export {};
//# sourceMappingURL=toast-provider.d.ts.map