/**
 * Generates a random string of specified length with given character set
 * Compatible with all JavaScript runtimes (Node.js, Deno, Bun, browsers)
 *
 * @param length The length of the ID to generate
 * @param chars Character set to use (defaults to alphanumeric)
 * @returns A random ID string
 */
export declare function generateId(length?: number, chars?: string): string;
