import * as ts from 'typescript';
import { PluginOptions } from '../merge-options.js';
/**
 * Resolves the plugin options for a given source file, inferring whether the
 * emitted file will be an ES module (unless the user configured it explicitly).
 */
export declare function resolvePluginOptionsForFile(options: PluginOptions, sourceFile: ts.SourceFile, compilerOptions: ts.CompilerOptions): PluginOptions;
export declare function isEsmOutputFile(sourceFile: ts.SourceFile, compilerOptions: ts.CompilerOptions, options?: PluginOptions): boolean;
//# sourceMappingURL=module-format.util.d.ts.map