/** * Generates a prefixed resource id (`{prefix}_{24 base62 chars}`, ~143 bits). * * @param prefix - The resource-type prefix (e.g. `usr`, `org`). * @returns The generated id. */ export declare function generate(prefix: string): string; /** * Generates the random segment of an id (24 base62 chars) without a prefix, * for ids composing extra parts (e.g. `wh_{timestamp}_{random}`). * * @returns The generated segment. */ export declare function random(): string; /** * Generates a time-prefixed resource id (`{prefix}_{epoch ms}_{24 base62 * chars}`). The epoch-ms is zero-padded to 15 digits (headroom past the year * 5138) so lexical id order is chronological, letting newest-first lists page * by keyset on the id alone. * * @param prefix - The resource-type prefix (e.g. `wh`, `ftr`). * @param now - The timestamp to embed. * @returns The generated id. */ export declare function generateSortable(prefix: string, now?: Date): string; //# sourceMappingURL=Id.d.ts.map