import type { Collection, CollectionProp, CursorPaginatedCollection, CursorPaginatedCollectionProp, MakeRequest } from './common-types'; /** * @private */ export declare const wrapCollection: (fn: (makeRequest: MakeRequest, entity: T, ...rest: Rest) => R) => (makeRequest: MakeRequest, data: CollectionProp, ...rest: Rest) => Collection; export declare const wrapCursorPaginatedCollection: (fn: (makeRequest: MakeRequest, entity: T, ...rest: Rest) => R) => (makeRequest: MakeRequest, data: CursorPaginatedCollectionProp, ...rest: Rest) => CursorPaginatedCollection; export declare function isSuccessful(statusCode: number): boolean; export declare function shouldRePoll(statusCode: number): boolean; export declare function waitFor(ms?: number): Promise;