import { MessageDescriptor } from "react-intl";
import { IMessage, IMessageDefinition } from "../typings.js";
/**
 * @internal
 */
export type MessageParameters = Pick<IMessageDefinition, "duration" | "intensive" | "values" | "showMore" | "showLess" | "errorDetail" | "id">;
/**
 * @internal
 */
export type AddMessageType = (message: MessageDescriptor, options?: MessageParameters) => IMessage;
/**
 * @internal
 */
export interface UseToastMessageType {
    addSuccess: AddMessageType;
    addProgress: AddMessageType;
    addWarning: AddMessageType;
    addError: AddMessageType;
    removeMessage: (id: string) => void;
    removeAllMessages: () => void;
}
/**
 * @internal
 */
export declare const useToastMessage: () => UseToastMessageType;
//# sourceMappingURL=useToastMessage.d.ts.map