import type { BuildInput } from 'rapiq'; import type { User } from '@authup/core-kit'; import { BaseAPI } from '../../base'; import type { EntityAPI, EntityCollectionResponse, EntityRecordResponse } from '../../types-base'; export type PasswordForgotResponse = { reset_expires: string; }; export type PasswordResetResponse = { reset_at: string; }; export type RegisterResponse = { active: true; }; export declare class UserAPI extends BaseAPI implements EntityAPI { getMany(options?: BuildInput): Promise>; getOne(id: User['id'], options?: BuildInput): Promise>; delete(id: User['id']): Promise>; create(data: Partial): Promise>; update(id: User['id'], data: Partial & { password_repeat?: User['password']; }): Promise>; createOrUpdate(idOrName: string, data: Partial & { password_repeat?: User['password']; }): Promise>; activate(token: string): Promise; register(data: Partial>): Promise; passwordForgot(data: Partial>): Promise; passwordReset(data: Partial> & { token: string; password: string; }): Promise; } //# sourceMappingURL=module.d.ts.map