import type { TFunction } from 'i18next';
export declare function dispatchApiError({ err, t, key, }: {
    err: unknown;
    t?: TFunction;
    key?: string;
}): void;
export declare function dispatchServerApiError({ err, t, }: {
    err: unknown;
    t?: TFunction;
}): void;
