import { AddressData, CreditData, FormData, KycData, LoanPartData, PersonData, TinkLoanData, UserData, Id, TinkAccountData } from '../types'; import { UseBaseModelType } from './use-base-model'; import { UseAsyncResult } from './use-async'; import { UseHasMany } from './use-has-many'; export declare type LoginTokenType = { token: string; }; export declare type UseUserModelType = UseBaseModelType & { login: () => UseAsyncResult; anonymousLogin: () => UseAsyncResult; formInit: (userId: Id) => UseAsyncResult; lookUpPerson: (userId: Id) => UseAsyncResult; forms: UseHasMany; persons: UseHasMany; addresses: UseHasMany; loanParts: UseHasMany; credits: UseHasMany; kycs: UseHasMany; tinkLoans: UseHasMany; tinkAccounts: UseHasMany; }; export declare const useUsers: () => UseUserModelType;