import * as _anzar_auth_core from '@anzar-auth/core'; import { Client, paths, components } from '@anzar-auth/core'; import { SdkOptions } from './types/index.js'; import './base_storage-icFCun17.js'; declare class AuthService { private readonly api; private readonly options?; constructor(api: Client, options?: SdkOptions | undefined); login(body: components["schemas"]["LoginRequest"]): Promise<{ data: { user: { _id?: string | null | undefined; createdAt: string; email: string; username: string; } | undefined; verification: { expires_at: string; link: string; } | null | undefined; }; error: { code: components["schemas"]["ErrorCode"]; message: string; } | undefined; }>; register(body: components["schemas"]["RegisterRequest"]): Promise<{ data: { user: { _id?: string | null | undefined; createdAt: string; email: string; username: string; } | undefined; verification: { expires_at: string; link: string; } | null | undefined; }; error: { code: components["schemas"]["ErrorCode"]; message: string; } | undefined; }>; logout(): Promise<{ data: undefined; error: { code: components["schemas"]["ErrorCode"]; message: string; } | undefined; }>; resetPassword(body: components["schemas"]["EmailRequest"]): Promise<{ data: { expires_at: string; link: string; } | undefined; error: { code: components["schemas"]["ErrorCode"]; message: string; } | undefined; }>; isAuthenticated(): Promise; } declare class EmailService { private readonly api; private readonly options; constructor(api: Client, options: SdkOptions); verifyEmail(token: string): Promise<{ data: undefined; error: { code: _anzar_auth_core.components["schemas"]["ErrorCode"]; message: string; } | undefined; }>; } declare class UserService { private readonly api; private readonly options?; constructor(api: Client, options?: SdkOptions | undefined); findUser(): Promise<{ data: { _id?: string | null | undefined; createdAt: string; email: string; username: string; } | undefined; error: { code: _anzar_auth_core.components["schemas"]["ErrorCode"]; message: string; } | undefined; }>; assign_role(): Promise<{ data: { _id?: string | null | undefined; createdAt: string; email: string; username: string; } | undefined; error: { code: _anzar_auth_core.components["schemas"]["ErrorCode"]; message: string; } | undefined; }>; } declare class Anzar { Auth: AuthService; User: UserService; Email: EmailService; constructor(options?: SdkOptions); } export { Anzar };