import type * as Ast from "@syuilo/aiscript/node.js"; import type { ITokenStream } from "@syuilo/aiscript/parser/streams/token-stream.js"; import { ParserError } from "../../errors/index.js"; /** * ```abnf * Statement = VarDef / FnDef / Out / Return / Attr / Each / For / Loop * / Break / Continue / Assign / Expr * ``` */ export declare function parseStatement(s: ITokenStream, e: ParserError[]): Ast.Statement | Ast.Expression | null; export declare function parseDefStatement(s: ITokenStream, e: ParserError[]): Ast.Definition | null; /** * ```abnf * BlockOrStatement = Block / Statement * ``` */ export declare function parseBlockOrStatement(s: ITokenStream, e: ParserError[]): Ast.Statement | Ast.Expression | null;