/** * Canonical identities shared by CSS generation, cache, and control-plane boundaries. * * This module deliberately has no vendor dependencies. Cache identities may cross * process and service boundaries, so accepting two strings with the same encoded * representation—or an unbounded string—is unsafe even when TypeScript calls the * value a `string`. * * @module utils/css-artifact-identity */ /** Maximum UTF-16 code units accepted for one complete CSS pipeline identity. */ export declare const MAX_CSS_PIPELINE_IDENTITY_CODE_UNITS = 2048; /** Maximum encoded UTF-8 bytes accepted for one complete CSS pipeline identity. */ export declare const MAX_CSS_PIPELINE_IDENTITY_UTF8_BYTES = 2048; /** Whether a value is safe to compare, encode, and persist as a CSS pipeline identity. */ export declare function isCSSPipelineIdentity(value: unknown): value is string; /** Validate and return an immutable string snapshot for cache or wire use. */ export declare function assertCSSPipelineIdentity(value: unknown, label?: string): string; /** Whether a value is the canonical style-scope profile SHA-256 identity. */ export declare function isStyleProfileHash(value: unknown): value is string; /** Validate and return the canonical style-scope profile SHA-256 identity. */ export declare function assertStyleProfileHash(value: unknown, label?: string): string; //# sourceMappingURL=css-artifact-identity.d.ts.map