import type { BrandedPrimitiveDefinition } from '@digitaldefiance/branded-interface'; import type { Brand } from 'ts-brand'; export declare const BlockIdPrimitive: BrandedPrimitiveDefinition; /** * Branded type for block IDs (lowercase hex checksums). * Accepts 64-char (SHA-256) or 128-char (SHA3-512) hex strings. * Provides compile-time type safety to prevent mixing block IDs with other string types. */ export type BlockId = Brand; /** * Validate and cast a hex string to the BlockId branded type. * @param hex - The hex string to validate (64 or 128 lowercase hex chars) * @returns The validated BlockId * @throws Error if the string is not a valid block ID hex string */ export declare function asBlockId(hex: string): BlockId; //# sourceMappingURL=blockId.d.ts.map