import { AxiosRequestConfig } from 'axios'; type VariableStore = { [key: string]: { value: any; }; }; type CustomMethods = { GLOBAL: MethodAccess; LOCAL: MethodAccess; PROJECT_ENVIRONMENT: MethodAccess; sendRequest: (config: AxiosRequestConfig) => Promise; }; type MethodAccess = { get: (key: string) => any; set: (key: string, value: any) => void; }; type ScriptExecutionResult = { logs: string[]; result?: any; error?: string; }; export declare const executeScriptWithVM2: (script: string, ff: CustomMethods, snippetsList?: string[]) => Promise; type CodeData = { [key: string]: any; }; export declare const compileAndExecute: (codeData: CodeData) => Promise<{ success: boolean; logs: string[]; error: string; result?: undefined; variables?: undefined; message?: undefined; } | { success: boolean; result: any; logs: string[]; variables: VariableStore; error?: undefined; message?: undefined; } | { success: boolean; message: any; logs?: undefined; error?: undefined; result?: undefined; variables?: undefined; }>; export {};