declare function tokensCompiler(code: string, reverse?: boolean): string;

type AvailableLanguages = 'esjs' | 'js';
interface CompileOptions {
    reverse?: boolean;
    from?: AvailableLanguages;
    to?: AvailableLanguages;
    convert?: boolean;
}
declare function compile(code: string, options?: CompileOptions): any;

export { type CompileOptions, compile, tokensCompiler };
