import { BaseApi } from '../BaseApi'; import { AgreementCode } from '../constants/lookups'; import { Agreement, AgreementEntry, MiddlewareConfig, Sdks, Settings, User, UserWithExtraInfo } from '../types'; import { AccountWithExtraInfo } from '../types/Account.type'; import { IBranchApi } from './interfaces'; import { IUserApi } from './interfaces/IUserApi'; export declare class UserApi extends BaseApi implements IUserApi { private branchApi; constructor(sdks: Sdks, config: MiddlewareConfig, branchApi: IBranchApi); getUser(userId: number): Promise; getAccounts(userId: number): Promise; setPassword(currentPassword: string, newPassword: string): Promise<{ success: boolean; }>; resetPassword(username: string): Promise<{ success: boolean; }>; getUserAgreements(): Promise; signUserAgreement(code: AgreementCode, entries: AgreementEntry[]): Promise<{ success: boolean; }>; getUserInfo(): Promise; getUserSettings(): Promise; setUserSettings(data: Settings): Promise; deleteUserSettings(keys: string[]): Promise; }