import type { Presence } from "../state/types.js"; import { type SyncProjectionKind, type SyncProtocolVersion, type SyncSnapshotReadMode } from "./constants.js"; import { type SyncSheetsErrorCode } from "./errors.js"; /** Requires a non-empty string at a provider contract boundary. */ export declare function requireSyncSheetsText(value: unknown, label: string, errorCode: SyncSheetsErrorCode): string; /** Requires a positive safe integer at a provider contract boundary. */ export declare function requireSyncSheetsPositiveSafeInteger(value: unknown, label: string, errorCode: SyncSheetsErrorCode): number; /** Requires a non-negative safe integer at a provider contract boundary. */ export declare function requireSyncSheetsNonNegativeSafeInteger(value: unknown, label: string, errorCode: SyncSheetsErrorCode): number; /** Decodes an optional text value returned by the runtime provider. */ export declare function decodeSyncSheetsPresenceString(value: unknown, label: string, errorCode?: SyncSheetsErrorCode): Presence; /** Decodes an optional non-negative revision returned by the runtime provider. */ export declare function decodeSyncSheetsPresenceNonNegativeSafeInteger(value: unknown, label: string, errorCode?: SyncSheetsErrorCode): Presence; /** Requires a protocol version returned by the runtime provider. */ export declare function requireSyncProtocolVersion(value: unknown, label: string, errorCode: SyncSheetsErrorCode): SyncProtocolVersion; /** Requires a projection label returned by the runtime provider. */ export declare function requireSyncProjectionKind(value: unknown, label: string, errorCode: SyncSheetsErrorCode): SyncProjectionKind; /** Requires a supported snapshot detail level at a provider boundary. */ export declare function requireSyncSnapshotReadMode(value: unknown, label: string, errorCode: SyncSheetsErrorCode): SyncSnapshotReadMode; /** Requires a non-empty list at a provider contract boundary. */ export declare function requireSyncSheetsNonEmptyList(values: readonly T[], label: string, errorCode: SyncSheetsErrorCode): void; //# sourceMappingURL=validation.d.ts.map