/// import { TransformOptions } from './types'; export declare type JITIOptions = { transform?: (opts: TransformOptions) => string; debug?: boolean; cache?: boolean | string; dynamicImport?: (id: string) => Promise; onError?: (error: Error) => void; legacy?: boolean; extensions?: string[]; }; declare type Require = typeof require; export interface JITI extends Require { transform: (opts: TransformOptions) => string; register: () => (() => void); } export default function createJITI(_filename?: string, opts?: JITIOptions): JITI; export {};