UNPKG

@nitrogenbuilder/client-core

Version:

Nitrogen Builder Core Client

9 lines 535 B
import type { BuilderModule } from '@nitrogenbuilder/types'; export declare function generateShortId(): string; export declare function toBase62(n: number): string; export declare function fromBase62(s: string): number; export declare function collectIds(page: BuilderModule[]): Set<string>; export declare function generateUniqueShortId(page: BuilderModule[], extraUsed?: Set<string>): string; export declare const SHORT_ID_PATTERN: RegExp; export declare function isValidId(id: string): boolean; //# sourceMappingURL=shortId.d.ts.map