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 AddressItem = { id?: number; street1?: string; street2?: string; apartmentNumber?: string; careOf?: string; postalNumber?: string; city?: string; formId?: number; userId?: number; }; export declare class Address extends BaseModel implements BaseModelInterface { constructor(api: AxiosInstance, cache?: CacheInstance); } export interface AddressRelations { form?: FormWithRelations; user?: UserWithRelations; } export declare type AddressWithRelations = Address & AddressRelations;