import { TFactoryConstructor } from "../../../types"; import { IEntityAttributes, IResourceEntity, IResourceFactory } from "../../../interfaces/api"; import { IRequestOptions } from "../../../interfaces/common"; export interface ICreateResult { id: number; request_id: string; } export interface IHasCreate>> { create(criteria: (object | A)[], options?: IRequestOptions): Promise; } export declare type IHasCreateFactory>> = IResourceFactory & IHasCreate; export declare function hasCreate>>(Base: TFactoryConstructor): TFactoryConstructor;