import type { ReconciliationScanOptions, ReconciliationScanPage } from "./durable-types.js"; export declare const TOKEN: RegExp; export declare const ERROR_CODE: RegExp; export declare const encoder: TextEncoder; export declare function assertToken(value: string, label: string, maxLength?: number): void; export declare function assertPositiveMs(value: number, label: string): void; export declare function assertTimestamp(value: number, label: string): void; export declare function readClock(clock: () => number, label: string): number; export declare function addDuration(timestamp: number, duration: number, label: string): number; export declare function bytesToBase64Url(bytes: Uint8Array): string; export declare function sha256(value: string): Promise; export declare function cloneValue(value: T): T; export declare const DEFAULT_RECONCILIATION_LIMIT = 100; export declare const MAX_RECONCILIATION_LIMIT = 1000; export declare function reconciliationLimit(value?: number): number; export declare function cursorOffset(cursor?: string): number; export declare function memoryScan(source: Iterable, input: ReconciliationScanOptions): ReconciliationScanPage; export declare function bucketAdd(byState: Map>, state: State, id: string): void; export declare function bucketMove(byState: Map>, from: State, to: State, id: string): void; export declare function indexedScan(byState: Map>, resolve: (id: string) => Record | undefined, input: ReconciliationScanOptions): ReconciliationScanPage; //# sourceMappingURL=durable-shared.d.ts.map