You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1015 B
31 lines
1015 B
import { TInputOptions } from './src/types/options/TInputOptions';
|
|
import { TObject } from './src/types/TObject';
|
|
|
|
import { IObfuscatedCode } from './src/interfaces/source-code/IObfuscatedCode';
|
|
import { TObfuscationResultsObject } from './src/types/TObfuscationResultsObject';
|
|
|
|
export type ObfuscatorOptions = TInputOptions;
|
|
|
|
export interface ObfuscatedCode extends IObfuscatedCode {}
|
|
|
|
/**
|
|
* @param {string} sourceCode
|
|
* @param {ObfuscatorOptions} inputOptions
|
|
* @returns {ObfuscatedCode}
|
|
*/
|
|
export function obfuscate (sourceCode: string, inputOptions?: ObfuscatorOptions): ObfuscatedCode;
|
|
|
|
/**
|
|
* @param {TSourceCodesObject} sourceCodesObject
|
|
* @param {TInputOptions} inputOptions
|
|
* @returns {TObfuscationResultsObject<TSourceCodesObject>}
|
|
*/
|
|
export function obfuscateMultiple <TSourceCodesObject extends TObject<string>> (
|
|
sourceCodesObject: TSourceCodesObject,
|
|
inputOptions?: TInputOptions
|
|
): TObfuscationResultsObject<TSourceCodesObject>;
|
|
|
|
/**
|
|
* @type {string}
|
|
*/
|
|
export const version: string; |