Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-gax / build / src / parserExtras.d.ts
diff --git a/legacy-libs/google-gax/build/src/parserExtras.d.ts b/legacy-libs/google-gax/build/src/parserExtras.d.ts
new file mode 100644 (file)
index 0000000..5755dc2
--- /dev/null
@@ -0,0 +1,21 @@
+import { Segment } from './pathTemplate';
+export declare const BINDING = 1;
+export declare const END_BINDING = 2;
+export declare const TERMINAL = 3;
+/**
+ * Completes the parsing of the segments
+ *
+ * Validates them, and transforms them into the object used by the
+ * PathTemplate class.
+ *
+ * @private
+ *
+ * @param {Segments[]} segments the parsed segments
+ * @param {Object} initializes the attributes of a PathTemplate
+ * @return {Object} Returns segments and size
+ * @throws {TypeError} if multiple path wildcards exist
+ */
+export declare function finishParse(segments: Segment[]): {
+    segments: Segment[];
+    size: number;
+};