UNPKG

@azure/cosmos

Version:
7 lines 809 B
import type { DiagnosticNodeInternal } from "../diagnostics/DiagnosticNodeInternal.js"; import type { PartitionKeyDefinition, PartitionKeyInternal } from "../documents/index.js"; import { PartitionKeyRangeCache } from "../routing/partitionKeyRangeCache.js"; import type { Container } from "./Container/index.js"; export declare function readPartitionKeyDefinition(diagnosticNode: DiagnosticNodeInternal, container: Container): Promise<PartitionKeyDefinition>; export declare function computePartitionKeyRangeId(diagnosticNode: DiagnosticNodeInternal, partitionKey: PartitionKeyInternal, partitionKeyRangeCache: PartitionKeyRangeCache, isPartitionLevelFailOverEnabled: boolean, container: Container, pKDefinition?: PartitionKeyDefinition): Promise<string | undefined>; //# sourceMappingURL=ClientUtils.d.ts.map