import { ReactNode } from "react";
import { SerializedStyles } from "@emotion/react";
export declare enum MessageTypes {
    Success = "Success",
    Info = "Info",
    Error = "Error"
}
export interface MessageProps {
    content: string | JSX.Element;
    actions?: ReactNode;
    type?: MessageTypes;
    /**
     * The duration of message showing, default is `3000`, means bar will be closed after 3 seconds
     */
    duration?: number;
    cssStyle?: SerializedStyles;
    className?: string;
    style?: React.CSSProperties;
}
export declare const message: {
    (props: MessageProps): void;
    info(content: string | JSX.Element): void;
    success(content: string | JSX.Element): void;
    error(content: string | JSX.Element): void;
};
