import { Options, SourceFile, Context } from '../../types/build.js';
import { LogFn } from '../../types/config.js';
import '@deepkit/type';
import '@storm-software/config/types';
import '@storm-stack/types/shared/log';
import '@stryke/env/get-env-paths';
import '@stryke/env/types';
import '@stryke/types/base';
import '@stryke/types/configuration';
import '@stryke/types/package-json';
import '@stryke/types/tsconfig';
import 'hookable';
import 'jiti';
import 'magic-string';
import 'typescript';
import 'unimport';
import '@storm-software/config-tools/types';

declare function transformErrors<TOptions extends Options = Options>(log: LogFn, source: SourceFile, context: Context<TOptions>): Promise<SourceFile>;

export { transformErrors };
