import type { Context, IOptions, Result } from '..'; import type { FileGetter } from '../modules/moduleTypes'; import type { RecursivePartial } from '../utils/typeUtils'; export declare const DEFAULT_SOURCE_OPTIONS: Readonly; /** * Returns both the Result of the evaluated program, as well as * `verboseErrors`. */ export declare function sourceFilesRunner(filesInput: FileGetter, entrypointFilePath: string, context: Context, options?: RecursivePartial): Promise<{ result: Result; verboseErrors: boolean; }>; /** * Useful for just running a single line of code with the given context * However, if this single line of code is an import statement, * then the FileGetter is necessary, otherwise all local imports will * fail with ModuleNotFoundError */ export declare function runCodeInSource(code: string, context: Context, options?: RecursivePartial, defaultFilePath?: string, fileGetter?: FileGetter): Promise<{ result: Result; verboseErrors: boolean; }>; export { htmlRunner } from './htmlRunner';