/** * The package's single object-branding mechanism: a `Symbol.for`-keyed property stamp. * * Why `Symbol.for` and not identity checks (`WeakSet`, `instanceof`): `Symbol.for` keys are * process-global, so brands survive a duplicated module graph (two copies of ore bundled into * one page — the exact failure mode `src/iife.ts`'s header documents). Identity-based checks * silently fail across those copies: an object stamped by one graph is invisible to the other. * Every branded runtime object in ore (`HTMLResult`, `DirectiveResult`, * `LiveBinding`, `CSSResult`) goes through this helper — do not introduce a second mechanism. */ export type Brand = { is: (value: unknown) => value is T; stamp: (obj: T) => T; }; export declare const makeBrand: (key: string) => Brand; //# sourceMappingURL=brand.d.ts.map