import "@tanstack/react-query"; declare module "@tanstack/react-query" { interface Register { mutationMeta: { /** i18n key for a success toast (opt-in). */ successMessage?: string; /** i18n key overriding the default error toast message. */ errorMessage?: string; /** Skip the global error toast (the component shows the error inline). */ suppressErrorToast?: boolean; }; } }