export interface ToastrConfig {
    /** Label for an action button inside the toast. */
    buttonLabel?: string;
    /** Callback when the action button is clicked. */
    onClick?: () => void;
    /** Whether to show the type icon in the toast. */
    showIcon?: boolean;
    /** Additional sonner toast options (duration, position, dismissible, etc.). */
    [key: string]: unknown;
}
export type ToastrMessage = string | {
    noticeCode?: string;
    customMessage?: string;
    notice?: string;
};
export type ToastrErrorInput = string | Error | {
    response?: {
        data?: Record<string, unknown>;
    };
    message?: string;
    isAxiosError?: boolean;
} | ToastrMessage;
declare const Toastr: {
    success(message: ToastrMessage, ...args: unknown[]): string | number | undefined;
    info(message: ToastrMessage, ...args: unknown[]): string | number | undefined;
    show(message: ToastrMessage, ...args: unknown[]): string | number | undefined;
    warning(message: ToastrMessage, ...args: unknown[]): string | number | undefined;
    error(errorObject: ToastrErrorInput, ...args: unknown[]): string | number | undefined;
};
export { Toastr };
