import { LinkProps } from "../link/Link";
export declare type ToastProps = {
    /** An HTML ID attribute that will be attached to the the rendered component. Useful for targeting it from tests */
    id?: string;
    /** The text to display inside the Toast */
    title: string;
    /** An optional (actionable) link to show at the end of the toast title */
    link?: Omit<LinkProps, "children"> & {
        text: string;
    };
    /** Controls what kind of emotion this Toast represents */
    variant?: "positive" | "negative" | "neutral";
    /** Controls if this Toast does not vanish automatically */
    sticky?: boolean;
    /** Callback invoked when this toast's close button is pressed */
    onClose?: () => void;
};
export declare function Toast({ id, title, link, variant, onClose, }: ToastProps): JSX.Element;
