import { AxiosInstance } from 'axios'; import { BaseModel } from './models'; import { UserWithRelations } from './user'; import { AddressWithRelations } from './address'; import { PersonWithRelations } from './person'; import { LoanPartWithRelations } from './loan-part'; import { TinkLoanWithRelations } from './tink-loan'; import { BaseModelInterface } from './interfaces'; export declare type FormItem = { id?: number; children?: number; directDebitAccountNumber?: string; directDebitPersonSsn?: string; email?: string; livingCost?: number; livingCostCurrency?: string; phoneNumber?: string; userId: number; valuation?: number; valuationCurrency?: string; }; export declare class Form extends BaseModel implements BaseModelInterface { constructor(api: AxiosInstance); } export interface FormRelations { user: UserWithRelations; address?: AddressWithRelations; persons?: PersonWithRelations[]; loanParts?: LoanPartWithRelations[]; tinkLoans?: TinkLoanWithRelations[]; } export declare type FormWithRelations = Form & FormRelations;