import { A as detectCodeFormat, C as ProxifiedModule, D as ProxyBase, E as ProxifiedValue, O as ProxyType, S as ProxifiedMemberExpression, T as ProxifiedObject, _ as ProxifiedFunctionExpression, a as LocPosition, b as ProxifiedImportsMap, c as BinaryOperator, d as ProxifiedArray, f as ProxifiedArrowFunctionExpression, g as ProxifiedFunctionCall, h as ProxifiedBlockStatement, i as Loc, j as Options, k as CodeFormatOptions, l as ImportItemInput, m as ProxifiedBinaryExpression, n as GenerateOptions, o as ParsedFileNode, p as ProxifiedAwaitExpression, r as GenerateResult, s as Token, t as ASTNode, u as Proxified, v as ProxifiedIdentifier, w as ProxifiedNewExpression, x as ProxifiedLogicalExpression, y as ProxifiedImportItem } from "./types-DIXJPpmb.js"; import { MagicastError, MagicastErrorOptions, builders, generateCode, parseExpression, parseModule } from "./core.js"; //#region src/file.d.ts /** * Read and parse a source file. * * The inferred filename is passed to the parser so language and module type can * be selected from the file extension. The provided options object is not * mutated. * * @typeParam Exports Expected module export shape. * @param filename Path to the source file. * @param options Parser and printer options. * @returns A mutable module proxy. */ export declare function loadFile(filename: string, options?: Options): Promise>; /** * Generate source from a proxified value or AST node and atomically replace a file. * * Existing permission bits are retained. A temporary sibling file is removed if * writing or replacement fails. * * @param node Proxified value or AST node to print. * @param filename Destination path. * @param options Printer and source-map options. */ export declare function writeFile(node: { $ast: ASTNode; } | ASTNode, filename: string, options?: Options): Promise; //#endregion export { ASTNode, BinaryOperator, CodeFormatOptions, GenerateOptions, GenerateResult, ImportItemInput, Loc, LocPosition, MagicastError, MagicastErrorOptions, ParsedFileNode, Proxified, ProxifiedArray, ProxifiedArrowFunctionExpression, ProxifiedAwaitExpression, ProxifiedBinaryExpression, ProxifiedBlockStatement, ProxifiedFunctionCall, ProxifiedFunctionExpression, ProxifiedIdentifier, ProxifiedImportItem, ProxifiedImportsMap, ProxifiedLogicalExpression, ProxifiedMemberExpression, ProxifiedModule, ProxifiedNewExpression, ProxifiedObject, ProxifiedValue, ProxyBase, ProxyType, Token, builders, detectCodeFormat, generateCode, parseExpression, parseModule };