import { $ as Range, A as StringLiteralExprAst, B as printSyntax, C as AttributeArgAst, D as NumberLiteralExprAst, E as FunctionCallAst, F as BracedBlock, G as createSyntaxTree, H as SyntaxNode, I as any, J as GreenToken, K as GreenElement, L as filterChildren, M as QualifiedNameAst, N as IdentifierAst, O as ObjectFieldAst, P as AstNode, Q as Position, R as findChildToken, S as ArrayLiteralAst, T as ExpressionAst, U as SyntaxToken, V as SyntaxElement, W as TokenAtOffset, X as greenToken, Y as greenNode, Z as SyntaxKind, _ as TypesBlockAst, a as BlockMemberAst, b as FieldAttributeAst, c as DocumentAst, d as GenericBlockMemberAst, et as SourceFile, f as KeyValuePairAst, g as NamespaceMemberAst, h as NamespaceDeclarationAst, i as AttributeAst, j as castExpression, k as ObjectLiteralExprAst, l as FieldDeclarationAst, m as NamedTypeDeclarationAst, n as ParseResult, o as CompositeTypeDeclarationAst, p as ModelDeclarationAst, q as GreenNode, r as parse, s as DeclarationAst, t as ParseDiagnostic, u as GenericBlockDeclarationAst, v as TypeAnnotationAst, w as BooleanLiteralExprAst, x as ModelAttributeAst, y as AttributeArgListAst, z as findFirstChild } from "./parse-Bl1gwWGn.mjs"; import { n as TokenKind } from "./tokenizer-DcYI0Xrq.mjs"; //#region src/syntax/green-builder.d.ts declare class GreenNodeBuilder { #private; startNode(kind: SyntaxKind): void; token(kind: TokenKind, text: string): void; finishNode(): GreenNode; } //#endregion //#region src/syntax/navigation.d.ts /** Direction of a sibling/token walk. */ type Direction = 'next' | 'prev'; /** Whether a token kind is trivia (whitespace, newline, or comment). */ declare function isTriviaKind(kind: TokenKind): boolean; /** Whether a token is trivia. */ declare function isTrivia(token: SyntaxToken): boolean; /** * The first non-trivia token at or beyond `token` in `direction`. Returns * `token` itself when it is already significant. */ declare function skipTriviaToken(token: SyntaxToken, direction: Direction): SyntaxToken | undefined; /** * The nearest sibling of `element` (within the same parent) in `direction` that * is not a trivia token. Nodes are always significant. */ declare function nonTriviaSibling(element: SyntaxElement, direction: Direction): SyntaxElement | undefined; //#endregion export { ArrayLiteralAst, type AstNode, AttributeArgAst, AttributeArgListAst, type AttributeAst, type BlockMemberAst, BooleanLiteralExprAst, type BracedBlock, CompositeTypeDeclarationAst, type DeclarationAst, type Direction, DocumentAst, type ExpressionAst, FieldAttributeAst, FieldDeclarationAst, FunctionCallAst, GenericBlockDeclarationAst, type GenericBlockMemberAst, type GreenElement, type GreenNode, GreenNodeBuilder, type GreenToken, IdentifierAst, KeyValuePairAst, ModelAttributeAst, ModelDeclarationAst, NamedTypeDeclarationAst, NamespaceDeclarationAst, type NamespaceMemberAst, NumberLiteralExprAst, ObjectFieldAst, ObjectLiteralExprAst, type ParseDiagnostic, type ParseResult, type Position, QualifiedNameAst, type Range, SourceFile, StringLiteralExprAst, type SyntaxElement, type SyntaxKind, SyntaxNode, SyntaxToken, TokenAtOffset, TypeAnnotationAst, TypesBlockAst, any, castExpression, createSyntaxTree, filterChildren, findChildToken, findFirstChild, greenNode, greenToken, isTrivia, isTriviaKind, nonTriviaSibling, parse, printSyntax, skipTriviaToken }; //# sourceMappingURL=syntax.d.mts.map