import { TFactoryConstructor } from "../../../types"; import { IEntityAttributes, IResourceEntity, IResourceFactory } from "../../../interfaces/api"; import { IRequestOptions } from "../../../interfaces/common"; export interface IUpdateResult { id: number; updated_at: number; request_id: string; } export interface IEntityUpdateAttributes extends IEntityAttributes { updated_at?: number; } export interface IHasUpdate>> { update(criteria: (object | T)[], options?: IRequestOptions): Promise; } export declare type IHasUpdateFactory>> = IResourceFactory & IHasUpdate; export declare function hasUpdate>>(Base: TFactoryConstructor): TFactoryConstructor;