import type { ClassBodyCstNode, EnumBodyDeclarationsCstNode } from "java-parser"; import type { AstPath } from "prettier"; import { builders } from "prettier/doc"; import { printClassPermits, printClassType, printSingle, type JavaPrintFn } from "./helpers.js"; declare const _default: { classDeclaration(path: AstPath, print: JavaPrintFn): builders.Doc[]; normalClassDeclaration(path: AstPath, print: JavaPrintFn): builders.Doc[]; classModifier: typeof printSingle; typeParameters(path: AstPath, print: JavaPrintFn): builders.Group; typeParameterList(path: AstPath, print: JavaPrintFn): builders.Doc[]; classExtends(path: AstPath, print: JavaPrintFn): builders.Doc[]; classImplements(path: AstPath, print: JavaPrintFn): builders.Group; classPermits: typeof printClassPermits; interfaceTypeList(path: AstPath, print: JavaPrintFn): builders.Group; classBody(path: AstPath, print: JavaPrintFn): builders.Group | "{}" | (string | builders.Indent | builders.Hardline)[]; classBodyDeclaration: typeof printSingle; classMemberDeclaration(path: AstPath, print: JavaPrintFn): builders.Doc; fieldDeclaration(path: AstPath, print: JavaPrintFn): builders.Doc[]; fieldModifier: typeof printSingle; variableDeclaratorList(path: AstPath, print: JavaPrintFn): builders.Group | builders.Doc[]; variableDeclarator(path: AstPath, print: JavaPrintFn): builders.Doc; variableDeclaratorId(path: AstPath, print: JavaPrintFn): builders.Doc; variableInitializer: typeof printSingle; unannType: typeof printSingle; unannPrimitiveTypeWithOptionalDimsSuffix(path: AstPath, print: JavaPrintFn): builders.Doc; unannPrimitiveType: typeof printSingle; unannReferenceType(path: AstPath, print: JavaPrintFn): builders.Doc; unannClassOrInterfaceType: typeof printSingle; unannClassType: typeof printClassType; unannInterfaceType: typeof printSingle; unannTypeVariable: typeof printSingle; methodDeclaration(path: AstPath, print: JavaPrintFn): builders.Doc[]; methodModifier: typeof printSingle; methodHeader(path: AstPath, print: JavaPrintFn): builders.Group; result: typeof printSingle; methodDeclarator(path: AstPath, print: JavaPrintFn): builders.Doc[]; receiverParameter(path: AstPath, print: JavaPrintFn): builders.Doc[]; formalParameterList(path: AstPath, print: JavaPrintFn): builders.Doc[]; formalParameter: typeof printSingle; variableParaRegularParameter(path: AstPath, print: JavaPrintFn): builders.Doc[]; variableArityParameter(path: AstPath, print: JavaPrintFn): builders.Doc[]; variableModifier: typeof printSingle; throws(path: AstPath, print: JavaPrintFn): builders.Doc[]; exceptionTypeList(path: AstPath, print: JavaPrintFn): builders.Doc[]; exceptionType: typeof printSingle; methodBody: typeof printSingle; instanceInitializer: typeof printSingle; staticInitializer(path: AstPath, print: JavaPrintFn): builders.Doc[]; constructorDeclaration(path: AstPath, print: JavaPrintFn): builders.Doc[]; constructorModifier: typeof printSingle; constructorDeclarator(path: AstPath, print: JavaPrintFn): builders.Doc[]; simpleTypeName: typeof printSingle; constructorBody(path: AstPath, print: JavaPrintFn): builders.Group | "{}" | (string | builders.Indent | builders.Hardline)[]; explicitConstructorInvocation: typeof printSingle; unqualifiedExplicitConstructorInvocation(path: AstPath, print: JavaPrintFn): builders.Doc[]; qualifiedExplicitConstructorInvocation(path: AstPath, print: JavaPrintFn): builders.Doc[]; enumDeclaration(path: AstPath, print: JavaPrintFn): builders.Doc[]; enumBody(path: AstPath, print: JavaPrintFn, options: import("./helpers.js").JavaParserOptions): builders.Group | "{}" | (string | builders.Indent | builders.Hardline)[]; enumConstantList(path: AstPath, print: JavaPrintFn): builders.Doc[]; enumConstant(path: AstPath, print: JavaPrintFn): builders.Doc[]; enumConstantModifier: typeof printSingle; enumBodyDeclarations(path: AstPath, print: JavaPrintFn): builders.Doc[]; recordDeclaration(path: AstPath, print: JavaPrintFn): builders.Doc[]; recordHeader(path: AstPath, print: JavaPrintFn): builders.Group | "()"; recordComponentList(path: AstPath, print: JavaPrintFn): builders.Doc[]; recordComponent(path: AstPath, print: JavaPrintFn): builders.Group; variableArityRecordComponent(path: AstPath, print: JavaPrintFn): builders.Doc[]; recordComponentModifier: typeof printSingle; recordBody(path: AstPath, print: JavaPrintFn): builders.Group | "{}" | (string | builders.Indent | builders.Hardline)[]; recordBodyDeclaration: typeof printSingle; compactConstructorDeclaration(path: AstPath, print: JavaPrintFn): builders.Doc[]; }; export default _default;