/** @packageDocumentation * @module Core */ import { KeySet } from "./KeySet"; /** * Create a type with `T` properties excluding properties listed in `K`. * * Usage example: `Omit` * * @public */ export declare type Omit = Pick>; /** * Create a type with `T` properties excluding all properties in type `K`. * * Usage example: `Subtract` * * @public */ export declare type Subtract = Omit; /** * A dictionary data structure. * @public */ export interface ValuesDictionary { [key: string]: T; } /** * A structure for paged responses * @public */ export interface PagedResponse { /** Total number of items */ total: number; /** Items for the requested page */ items: T[]; } /** * Get total number of instances included in the supplied key set. The * count is calculated by adding all of the following: * - `keys.instanceKeysCount` * - number of `keys.nodeKeys` which are *ECInstance* keys * - for every grouping node key in `keys.nodeKeys`, number of grouped instances * * E.g. if `keys` contains one instance key, one *ECInstance* node key * and one grouping node key which groups 3 instances, the result is 5. * * @public */ export declare const getInstancesCount: (keys: Readonly) => number; /** * Default (recommended) keyset batch size for cases when it needs to be sent * over HTTP. Sending keys in batches helps avoid HTTP413 error. * * @public */ export declare const DEFAULT_KEYS_BATCH_SIZE = 5000; /** @internal */ export declare const PRESENTATION_COMMON_ROOT: string; /** @internal */ export declare const getLocalesDirectory: (assetsDirectory: string) => string; //# sourceMappingURL=Utils.d.ts.map