/** * Code taken from the [nanoid](https://github.com/ai/nanoid/blob/main/index.browser.js) * browser implementation. The code is licensed under the MIT license. * */ /** * Uses every character from nano id except for the `-` and `_` character. * * - Underscore `_` is not URL safe https://github.com/ai/nanoid/issues/347. * - Dash `-` breaks selecting the ID from the URL in the browser. */ export declare const _nanoIdAlphabet = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; /** * Generate secure URL-friendly unique ID. * * NOTE: This is the non-deterministic version. For deterministic IDs in tests, * use `nanoid({ lix })` from './functions.js' instead. * * Use https://zelark.github.io/nano-id-cc/ to calculate the length * of the ID for the use case with the alphabet provided in the * implementation. */ export declare const randomNanoId: (size?: number) => string; //# sourceMappingURL=nano-id.d.ts.map