/** * Generates a random string matching a template pattern. * * @param template - Pattern template where: * - '#' represents a random digit (0-9) * - 'A' represents a random uppercase letter (A-Z) * - 'a' represents a random lowercase letter (a-z) * - Any other character is preserved as-is * @returns A random string matching the template pattern. * * @throws {Error} If template is empty. * @throws {Error} If template is longer than 100 characters. * * @example * // Generate phone number pattern * randomPattern('###-###-####'); // '555-123-4567' * * @example * // Generate license plate pattern * randomPattern('AAA-###'); // 'XYZ-742' * * @example * // Generate product code * randomPattern('PROD-####-aaa'); // 'PROD-8472-xyz' * * @example * // Mixed pattern with preserved characters * randomPattern('ID: AAA-###-aaa'); // 'ID: KLM-389-def' * * @note Uses Math.random() for non-cryptographic randomness. * @note Pattern characters: '#' (digit), 'A' (uppercase), 'a' (lowercase). * @note All other characters in the template are preserved exactly. * * @complexity Time: O(n), Space: O(n) where n is template length */ export declare function randomPattern(template: string): string; //# sourceMappingURL=randomPattern.d.ts.map