/** * Hierarchical mutation key factory for every auth mutation managed by * `@xylex-group/athena-auth-ui`. * * Mutation keys are used for `useIsMutating` and global `MutationCache` * observers (e.g. toast handling). Keys are static tuples rather than * parameterized factories. Nested groups expose an `all` prefix so consumers * can match a whole feature at once: * * ```ts * import { authMutationKeys } from "@xylex-group/athena-auth-ui" * * useIsMutating({ mutationKey: authMutationKeys.all }) * useIsMutating({ mutationKey: authMutationKeys.signIn.all }) * useIsMutating({ mutationKey: authMutationKeys.signIn.email }) * ``` * * This object is package-owned source of truth. Import it from * `@xylex-group/athena-auth-ui` only — do not import mutation keys from * `@better-auth-ui/core`. * * Plugin-specific mutation keys live next to their plugins (for example * `apiKeyMutationKeys`, `organizationMutationKeys`, `passkeyMutationKeys`, * `magicLinkMutationKeys`, `multiSessionMutationKeys`, `usernameMutationKeys`, * `deleteUserMutationKeys`). Plugin sign-in strategies still use the shared * `["auth", "signIn", …]` namespace so * `useIsMutating({ mutationKey: authMutationKeys.signIn.all })` matches them. */ export declare const authMutationKeys: { /** Root key for every package-managed auth mutation. */ readonly all: readonly ["auth"]; /** Key for `changeEmail`. */ readonly changeEmail: readonly ["auth", "changeEmail"]; /** Key for `changePassword`. */ readonly changePassword: readonly ["auth", "changePassword"]; /** Key for `linkSocial`. */ readonly linkSocial: readonly ["auth", "linkSocial"]; /** Key for `requestPasswordReset`. */ readonly requestPasswordReset: readonly ["auth", "requestPasswordReset"]; /** Key for `resetPassword`. */ readonly resetPassword: readonly ["auth", "resetPassword"]; /** Key for `revokeSession`. */ readonly revokeSession: readonly ["auth", "revokeSession"]; /** Key for `sendVerificationEmail`. */ readonly sendVerificationEmail: readonly ["auth", "sendVerificationEmail"]; /** Sign-in mutations, grouped by strategy. */ readonly signIn: { /** Prefix matching every sign-in mutation (including plugin strategies). */ readonly all: readonly ["auth", "signIn"]; /** Key for `signIn.email`. */ readonly email: readonly ["auth", "signIn", "email"]; /** Key for `signIn.social`. */ readonly social: readonly ["auth", "signIn", "social"]; }; /** Key for `signOut`. */ readonly signOut: readonly ["auth", "signOut"]; /** Sign-up mutations, grouped by strategy. */ readonly signUp: { /** Prefix matching every sign-up mutation. */ readonly all: readonly ["auth", "signUp"]; /** Key for `signUp.email`. */ readonly email: readonly ["auth", "signUp", "email"]; }; /** Key for `unlinkAccount`. */ readonly unlinkAccount: readonly ["auth", "unlinkAccount"]; /** Key for `updateUser`. */ readonly updateUser: readonly ["auth", "updateUser"]; };