import type { MouseEventHandler } from 'react';
export interface AlertProps {
    variant: 'warning' | 'error';
    message: string;
    action?: ActionProps;
    className?: string;
}
interface ActionProps {
    label: string;
    onClick: MouseEventHandler;
}
export declare function Alert(props: AlertProps): JSX.Element;
export {};
