@gmod/bed 2.1.7 → 2.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,22 @@
1
+ export class SyntaxError extends Error {
2
+ message: string
3
+ expected: unknown
4
+ found: string | null
5
+ location: {
6
+ start: { offset: number; line: number; column: number }
7
+ end: { offset: number; line: number; column: number }
8
+ }
9
+ }
10
+
11
+ export interface ParseOptions {
12
+ startRule?: string
13
+ }
14
+
15
+ export function parse(input: string, options?: ParseOptions): unknown
16
+
17
+ declare const parser: {
18
+ SyntaxError: typeof SyntaxError
19
+ parse: typeof parse
20
+ }
21
+
22
+ export default parser