webcrack
Version:
Deobfuscate, unminify and unpack bundled javascript
17 lines • 686 B
TypeScript
import type { NodePath } from '@babel/traverse';
import type * as t from '@babel/types';
import type { StringArray } from './string-array';
/**
* A function that is called with >= 1 numeric/string arguments
* and returns a string from the string array. It may also decode
* the string with Base64 or RC4.
*/
export declare class Decoder {
originalName: string;
name: string;
path: NodePath<t.FunctionDeclaration>;
constructor(originalName: string, name: string, path: NodePath<t.FunctionDeclaration>);
collectCalls(): NodePath<t.CallExpression>[];
}
export declare function findDecoders(stringArray: StringArray): Decoder[];
//# sourceMappingURL=decoder.d.ts.map