/** * Unique ID generation for runtime use (component IDs, label associations, etc.). * Template binding no longer uses this for marker IDs — binding targets are resolved * via path navigation on cloned template nodes. */ /** * Generates a monotonically-increasing, unique-within-this-process ID with an optional prefix. * No public reset — this is for uniqueness, not cross-test determinism; use `createStableId()` * (and `resetStableIdCounter()`) when a test needs IDs to restart from the same value each run. */ export declare const createId: (prefix?: string) => string; /** * Generates a stable, unique ID with an optional semantic prefix. * Includes a short random tag to prevent collisions across multiple app instances. * Format: `${prefix}-${tag}${counter}` — e.g. `field-a3k21`. */ export declare const createStableId: (prefix?: string) => string; /** * Resets the `createStableId()` counter to 0. Use in test `beforeEach` hooks when you need * deterministic IDs across test runs. * * Named to match `createStableId()` precisely — `createId()` has no public reset (it's meant * for non-deterministic, monotonically-unique IDs; nothing in the package relies on it * restarting from a fixed value across tests). */ export declare const resetStableIdCounter: () => void; //# sourceMappingURL=id.d.ts.map