import { type MessageDescriptor } from "react-intl";
import { type IMessage, type 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 IUseToastMessageType {
    addSuccess: AddMessageType;
    addProgress: AddMessageType;
    addWarning: AddMessageType;
    addError: AddMessageType;
    removeMessage: (id: string) => void;
    removeAllMessages: () => void;
}
/**
 * @internal
 */
export declare const useToastMessage: () => IUseToastMessageType;
//# sourceMappingURL=useToastMessage.d.ts.map