import { HasManyInterface, BaseModelInterface } from '../interfaces'; import { Id, Shape, Count } from '../../types'; declare type BelongsToOptions = { parent: BaseModelInterface; targetPath: string; }; export declare class HasManyModel implements HasManyInterface { parent: any; targetPath: string; constructor(options: BelongsToOptions); getAll(parentId: Id, filter?: Shape): Promise>; post(parentId: Id, item: Omit): Promise; patchAll(parentId: Id, item: Partial, where?: Shape): Promise; delAll(parentId: Id, where?: Shape): Promise; } export {};