import { HTMLAttributes, ReactNode } from 'react';
type IconType = "info" | "warning" | "danger" | "error" | "success";
export interface ToastProps extends HTMLAttributes<HTMLDivElement> {
    /** Specify a semantic variant */
    variant?: IconType;
    /** Pass child nodes to be rendered as contents */
    children?: ReactNode;
    /** Pass an optional text */
    text?: string;
    /** Optional. If set to 'true', the message will be automatically dismissed after 10 seconds by default or after the specified autoDismissTimeout */
    autoDismiss?: boolean;
    /** Optional. Timeout in miliseconds after which the message is automatically dismissed. By default 10000 (10s).*/
    autoDismissTimeout?: number;
    /** Optional. Pass a handler that will be called when the message is dismissed */
    onDismiss?: () => void;
    /** Pass an optional className */
    className?: string;
}
/**
 * A Toast component. Use for short-lived, temporary/transient messaging to users relating to their current usage context, e.g. 'Edits changed successfully'. For more general, persistent messaging, e.g. 'Our servers will be down for maintenance all weekend', use Message instead.
 * @see https://cloudoperators.github.io/juno/?path=/docs/wip-toast--docs
 * @see {@link ToastProps}
 */
export declare const Toast: ({ variant, children, text, autoDismiss, autoDismissTimeout, onDismiss, className, ...props }: ToastProps) => ReactNode;
export {};
//# sourceMappingURL=Toast.component.d.ts.map