/// import { ObfuscationOptions } from "./obfuscation-options"; /** * The Noscrape class provides methods for obfuscating text using a custom font. * It allows obfuscation of strings, numbers, and objects. */ export declare class Noscrape { private readonly font; private options; private translation; private glyphs; /** * Initializes a new instance of the Noscrape class. * * @param {string | ArrayBuffer | SharedArrayBuffer} font * In case of string: only local file path is provided. Otherwise, load file with fetch or similar api and provide * (Shared)ArrayBuffer to Noscrape. Working example can be found at the Demo-Server sources: * npm run demo -> http://localhost:1337/remote-demo * @param {ObfuscationOptions} options - Optional configuration options for obfuscation. */ constructor(font: string | ArrayBuffer | SharedArrayBuffer, options?: ObfuscationOptions); /** * Obfuscates a given value (string, number, or object) using the configured font and options. * * @param {T extends string | number | object} value - The value to obfuscate. * @returns {T extends string | number | object} - The obfuscated value. */ obfuscate(value: T): T; /** * Generates and returns the obfuscated font as a buffer. * * @returns {Buffer} - The obfuscated font in buffer format. */ getFont(): Buffer; } //# sourceMappingURL=noscrape.d.ts.map