UNPKG

916 BTypeScriptView Raw
1import { TDictionary } from './src/types/TDictionary';
2import { TInputOptions } from './src/types/options/TInputOptions';
3import { TObfuscationResultsObject } from './src/types/TObfuscationResultsObject';
4import { TOptionsPreset } from './src/types/options/TOptionsPreset';
5import { IObfuscationResult } from './src/interfaces/source-code/IObfuscationResult';
6export type ObfuscatorOptions = TInputOptions;
7export interface ObfuscationResult extends IObfuscationResult {
8}
9export declare function obfuscate(sourceCode: string, inputOptions?: ObfuscatorOptions): ObfuscationResult;
10export declare function obfuscateMultiple<TSourceCodesObject extends TDictionary<string>>(sourceCodesObject: TSourceCodesObject, inputOptions?: TInputOptions): TObfuscationResultsObject<TSourceCodesObject>;
11export declare function getOptionsByPreset(optionsPreset: TOptionsPreset): TInputOptions;
12export declare const version: string;