import { AxiosInstance, AxiosRequestConfig } from 'axios'; import { Id, Shape, Count } from '../../types'; import { BaseModelInterface } from '../interfaces'; export declare class BaseModel implements BaseModelInterface { protected api: AxiosInstance; basePath: string; constructor(api: AxiosInstance, basePath: string); request(config: AxiosRequestConfig): Promise; post(item: Omit): Promise; getAll(filter?: Shape): Promise; getById(id: Id, filter?: Shape): Promise; count(where?: Shape): Promise; patchById(id: Id, item: Partial): Promise; patchAll(item: Partial, where?: Shape): Promise; putById(id: Id, item: Partial): Promise; deleteById(id: Id): Promise; }