import type { ExpandableStringKeyOf, ODataOptionsWithoutCount, OptionsToResponse } from 'pinejs-client-core'; export interface ChunkSizeOptions { numericId: number; stringId: number; } export declare function batchResourceOperationFactory({ getAll, NotFoundError, AmbiguousResourceError, chunkSize: chunkSizeParam, }: { getAll: (options: ODataOptionsWithoutCount) => Promise; NotFoundError: new (id: string | number) => Error; AmbiguousResourceError: new (id: string | number) => Error; chunkSize?: number | Partial; }): { >(options: { uuidOrIdOrArray: number | number[] | string | string[]; parameterName?: string; options?: TOpts; groupByNavigationPoperty?: undefined; fn: (items: Array & Partial> & OptionsToResponse>) => Promise; }): Promise; >(options: { uuidOrIdOrArray: number | number[] | string | string[]; parameterName?: string; options?: TOpts; groupByNavigationPoperty: ExpandableStringKeyOf; fn: (items: Array & Partial> & OptionsToResponse>, ownerId: number) => Promise; }): Promise; };