import { AxiosInstance } from 'axios'; import { BaseModel } from './models'; import { FormWithRelations } from './form'; import { UserWithRelations } from './user'; import { BaseModelInterface } from './interfaces'; import { CacheInstance } from '../types'; export declare type LoanPartItem = { id?: number; amount?: number; currency?: string; amortization?: number; monthsBound?: number; formId?: number; userId?: number; }; export declare class LoanPart extends BaseModel implements BaseModelInterface { constructor(api: AxiosInstance, cache?: CacheInstance); } export interface LoanPartRelations { form?: FormWithRelations; user?: UserWithRelations; } export declare type LoanPartWithRelations = LoanPart & LoanPartRelations;