export declare function obfuscatedImport(url: string): Promise; export declare function createFunction(refs: { [key: string]: string; }, _body: string, async?: boolean, generator?: boolean, blockStatement?: boolean): any; export declare function calcRefs(refs: any, str: any): { [key: string]: string; }; export declare function encodeOMD(str: string): string; export declare function encodeMD(str: string): string; export declare function encodeBacktick(str: string): string; export type OJSVariableMessageType = "error" | "pending" | "fulfilled" | "rejected"; export declare class OJSSyntaxError { start: number; end: number; message: string; name: string; constructor(start: number, end: number, message: string); } export declare class OJSRuntimeError { severity: OJSVariableMessageType; start: number; end: number; message: string; name: string; constructor(severity: OJSVariableMessageType, start: number, end: number, message: string); } //# sourceMappingURL=util.d.ts.map