/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ /** The Sheet's identity of a paged source snapshot — its id and revision — for its key search and its driver (#851: the Sheet is its only user). @packageDocumentation */ import { OptionType, StringType, StructType, type ValueTypeOf } from "@elaraai/east"; /** An absent source and a source discovering its revision remain distinct. */ export declare const PagedSnapshotType: StructType<{ readonly source: OptionType; readonly revision: OptionType; }>; export type PagedSnapshot = ValueTypeOf; export declare const pagedSourceEqual: (a: PagedSnapshot["source"], b: PagedSnapshot["source"]) => boolean; export declare const pagedSnapshotEqual: (a: PagedSnapshot, b: PagedSnapshot) => boolean; /** React requires a scalar key; East's canonical printer preserves the typed identity. */ export declare const pagedSnapshotKey: (snapshot: PagedSnapshot) => string; /** Construct the identity using East Option values, including the discovery state. */ export declare function pagedSnapshot(source: string | undefined, revision: string | undefined): PagedSnapshot; //# sourceMappingURL=paged-snapshot.d.ts.map