Files
eewing cf73cd3b4c INIT
2026-02-17 14:10:16 -06:00

9 lines
320 B
TypeScript

/**
* Creates a unique ID for a given uid and optional prefix.
*
* @param uid - the uid generated by $props.id()
* @param prefix - optional prefix to use for the id (defaults to "bits")
*/
export declare function createId(uid: string): string;
export declare function createId(prefix: string, uid: string): string;