//#region src/plugins/credential/types.d.ts type SignInCredentialInput = { /** Email or username, depending on what the server enables. */credential: string; password: string; /** When true (default), issues a long-lived session. */ rememberMe?: boolean; }; type SignUpCredentialInput = { email: string; password: string; /** Required when username-on-signup is enabled. */ username?: string; /** Optional profile fields the server records on the user. */ firstname?: string; lastname?: string; /** Extra fields recorded on the user at registration. */ additionalFields?: Record; }; type ChangePasswordInput = { currentPassword: string; newPassword: string; /** Invalidate other sessions on success. Defaults to true. */ revokeOtherSessions?: boolean; }; type SetPasswordInput = { newPassword: string; revokeOtherSessions?: boolean; }; type RequestPasswordResetInput = { email: string; }; type ResetPasswordInput = { token: string; newPassword: string; }; type CheckUsernameInput = { username: string; }; //#endregion export { ChangePasswordInput, CheckUsernameInput, RequestPasswordResetInput, ResetPasswordInput, SetPasswordInput, SignInCredentialInput, SignUpCredentialInput };