import { Recipe } from "../../recipe"; import { TreeVisitor } from "../../visitor"; import { ExecutionContext } from "../../execution"; /** * Formats JavaScript/TypeScript code using a comprehensive set of formatting rules. * * This recipe applies formatting based on styles detected at parse time: * - If PrettierStyle marker is present, uses Prettier formatting * - If Autodetect marker is present, uses auto-detected project style * - Otherwise, defaults to IntelliJ IDEA style * * The detected formatting includes: * - Tabs vs spaces preference * - Indent size (2, 4, etc.) * - ES6 import/export brace spacing */ export declare class AutoFormat extends Recipe { readonly name = "org.openrewrite.javascript.format.auto-format"; readonly displayName = "Auto-format JavaScript/TypeScript code"; readonly description = "Format JavaScript and TypeScript code using formatting rules auto-detected from the project's existing code style."; editor(): Promise>; } //# sourceMappingURL=auto-format.d.ts.map