@malloydata/malloy 0.0.243-dev250314155434 → 0.0.243-dev250314163430

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.
Files changed (227) hide show
  1. package/dist/annotation.d.ts +2 -2
  2. package/dist/api/asynchronous.d.ts +4 -4
  3. package/dist/api/connection.d.ts +1 -1
  4. package/dist/api/core.d.ts +3 -2
  5. package/dist/api/stateless.d.ts +1 -1
  6. package/dist/api/util.d.ts +5 -5
  7. package/dist/connection/base_connection.d.ts +4 -4
  8. package/dist/connection/types.d.ts +4 -4
  9. package/dist/dialect/dialect.d.ts +2 -2
  10. package/dist/dialect/dialect_map.d.ts +1 -1
  11. package/dist/dialect/duckdb/dialect_functions.d.ts +1 -1
  12. package/dist/dialect/duckdb/duckdb.d.ts +3 -3
  13. package/dist/dialect/duckdb/function_overrides.d.ts +1 -1
  14. package/dist/dialect/functions/malloy_standard_functions.d.ts +1 -1
  15. package/dist/dialect/functions/util.d.ts +2 -2
  16. package/dist/dialect/mysql/dialect_functions.d.ts +1 -1
  17. package/dist/dialect/mysql/function_overrides.d.ts +1 -1
  18. package/dist/dialect/mysql/mysql.d.ts +4 -3
  19. package/dist/dialect/mysql/mysql.js +0 -7
  20. package/dist/dialect/pg_impl.d.ts +3 -2
  21. package/dist/dialect/postgres/dialect_functions.d.ts +1 -1
  22. package/dist/dialect/postgres/function_overrides.d.ts +1 -1
  23. package/dist/dialect/postgres/postgres.d.ts +3 -3
  24. package/dist/dialect/snowflake/dialect_functions.d.ts +1 -1
  25. package/dist/dialect/snowflake/function_overrides.d.ts +1 -1
  26. package/dist/dialect/snowflake/snowflake.d.ts +4 -3
  27. package/dist/dialect/standardsql/dialect_functions.d.ts +1 -1
  28. package/dist/dialect/standardsql/function_overrides.d.ts +1 -1
  29. package/dist/dialect/standardsql/standardsql.d.ts +4 -3
  30. package/dist/dialect/trino/dialect_functions.d.ts +1 -1
  31. package/dist/dialect/trino/function_overrides.d.ts +1 -1
  32. package/dist/dialect/trino/trino.d.ts +3 -3
  33. package/dist/lang/ast/ast-utils.d.ts +1 -1
  34. package/dist/lang/ast/error-factory.d.ts +1 -1
  35. package/dist/lang/ast/expressions/apply.d.ts +3 -3
  36. package/dist/lang/ast/expressions/binary-boolean.d.ts +3 -3
  37. package/dist/lang/ast/expressions/binary-numeric.d.ts +3 -3
  38. package/dist/lang/ast/expressions/boolean.d.ts +1 -1
  39. package/dist/lang/ast/expressions/case.d.ts +2 -2
  40. package/dist/lang/ast/expressions/constant-expression.d.ts +6 -6
  41. package/dist/lang/ast/expressions/expr-aggregate-function.d.ts +4 -4
  42. package/dist/lang/ast/expressions/expr-alternation-tree.d.ts +3 -3
  43. package/dist/lang/ast/expressions/expr-array-literal.d.ts +2 -2
  44. package/dist/lang/ast/expressions/expr-asymmetric.d.ts +3 -3
  45. package/dist/lang/ast/expressions/expr-avg.d.ts +2 -2
  46. package/dist/lang/ast/expressions/expr-cast.d.ts +3 -3
  47. package/dist/lang/ast/expressions/expr-coalesce.d.ts +2 -2
  48. package/dist/lang/ast/expressions/expr-compare.d.ts +3 -3
  49. package/dist/lang/ast/expressions/expr-count-distinct.d.ts +2 -2
  50. package/dist/lang/ast/expressions/expr-count.d.ts +3 -3
  51. package/dist/lang/ast/expressions/expr-filter-expr.d.ts +3 -3
  52. package/dist/lang/ast/expressions/expr-func.d.ts +7 -7
  53. package/dist/lang/ast/expressions/expr-granular-time.d.ts +3 -3
  54. package/dist/lang/ast/expressions/expr-id-reference.d.ts +3 -3
  55. package/dist/lang/ast/expressions/expr-max.d.ts +2 -2
  56. package/dist/lang/ast/expressions/expr-min.d.ts +2 -2
  57. package/dist/lang/ast/expressions/expr-minus.d.ts +2 -2
  58. package/dist/lang/ast/expressions/expr-not.d.ts +3 -3
  59. package/dist/lang/ast/expressions/expr-now.d.ts +2 -2
  60. package/dist/lang/ast/expressions/expr-null.d.ts +2 -2
  61. package/dist/lang/ast/expressions/expr-number.d.ts +2 -2
  62. package/dist/lang/ast/expressions/expr-parens.d.ts +3 -3
  63. package/dist/lang/ast/expressions/expr-props.d.ts +3 -3
  64. package/dist/lang/ast/expressions/expr-record-literal.d.ts +3 -3
  65. package/dist/lang/ast/expressions/expr-regex.d.ts +1 -1
  66. package/dist/lang/ast/expressions/expr-string.d.ts +2 -2
  67. package/dist/lang/ast/expressions/expr-sum.d.ts +2 -2
  68. package/dist/lang/ast/expressions/expr-time-extract.d.ts +3 -3
  69. package/dist/lang/ast/expressions/expr-time.d.ts +3 -3
  70. package/dist/lang/ast/expressions/expr-ungroup.d.ts +2 -2
  71. package/dist/lang/ast/expressions/for-range.d.ts +4 -4
  72. package/dist/lang/ast/expressions/function-ordering.d.ts +3 -3
  73. package/dist/lang/ast/expressions/partial-compare.d.ts +3 -3
  74. package/dist/lang/ast/expressions/partition_by.d.ts +1 -1
  75. package/dist/lang/ast/expressions/pick-when.d.ts +2 -2
  76. package/dist/lang/ast/expressions/range.d.ts +3 -3
  77. package/dist/lang/ast/expressions/time-frame.d.ts +1 -1
  78. package/dist/lang/ast/expressions/time-literal.d.ts +5 -5
  79. package/dist/lang/ast/field-space/ast-view-field.d.ts +3 -3
  80. package/dist/lang/ast/field-space/column-space-field.d.ts +1 -1
  81. package/dist/lang/ast/field-space/dynamic-space.d.ts +5 -5
  82. package/dist/lang/ast/field-space/index-field-space.d.ts +2 -2
  83. package/dist/lang/ast/field-space/ir-view-field.d.ts +2 -2
  84. package/dist/lang/ast/field-space/join-space-field.d.ts +2 -2
  85. package/dist/lang/ast/field-space/parameter-space.d.ts +6 -6
  86. package/dist/lang/ast/field-space/project-field-space.d.ts +1 -1
  87. package/dist/lang/ast/field-space/query-input-space.d.ts +4 -4
  88. package/dist/lang/ast/field-space/query-spaces.d.ts +7 -6
  89. package/dist/lang/ast/field-space/reference-field.d.ts +4 -4
  90. package/dist/lang/ast/field-space/refined-space.d.ts +5 -5
  91. package/dist/lang/ast/field-space/rename-space-field.d.ts +1 -1
  92. package/dist/lang/ast/field-space/static-space.d.ts +5 -5
  93. package/dist/lang/ast/field-space/struct-space-field-base.d.ts +3 -3
  94. package/dist/lang/ast/field-space/view-field.d.ts +2 -2
  95. package/dist/lang/ast/parameters/argument.d.ts +2 -2
  96. package/dist/lang/ast/parameters/has-parameter.d.ts +2 -2
  97. package/dist/lang/ast/query-builders/index-builder.d.ts +7 -7
  98. package/dist/lang/ast/query-builders/partial-builder.d.ts +1 -1
  99. package/dist/lang/ast/query-builders/partial-builder.js +0 -22
  100. package/dist/lang/ast/query-builders/project-builder.d.ts +7 -7
  101. package/dist/lang/ast/query-builders/reduce-builder.d.ts +8 -7
  102. package/dist/lang/ast/query-elements/anonymous-query.d.ts +6 -4
  103. package/dist/lang/ast/query-elements/query-arrow.d.ts +3 -3
  104. package/dist/lang/ast/query-elements/query-base.d.ts +2 -2
  105. package/dist/lang/ast/query-elements/query-head-struct.d.ts +2 -2
  106. package/dist/lang/ast/query-elements/query-raw.d.ts +4 -4
  107. package/dist/lang/ast/query-elements/query-reference.d.ts +5 -4
  108. package/dist/lang/ast/query-elements/query-refine.d.ts +3 -3
  109. package/dist/lang/ast/query-items/field-declaration.d.ts +10 -9
  110. package/dist/lang/ast/query-items/field-references.d.ts +7 -6
  111. package/dist/lang/ast/query-items/typecheck_utils.d.ts +2 -2
  112. package/dist/lang/ast/query-properties/aggregate.d.ts +3 -2
  113. package/dist/lang/ast/query-properties/calculate.d.ts +3 -2
  114. package/dist/lang/ast/query-properties/declare-fields.d.ts +5 -4
  115. package/dist/lang/ast/query-properties/extend.d.ts +4 -3
  116. package/dist/lang/ast/query-properties/filters.d.ts +6 -5
  117. package/dist/lang/ast/query-properties/group-by.d.ts +3 -2
  118. package/dist/lang/ast/query-properties/indexing.d.ts +4 -3
  119. package/dist/lang/ast/query-properties/limit.d.ts +2 -1
  120. package/dist/lang/ast/query-properties/nest.d.ts +4 -3
  121. package/dist/lang/ast/query-properties/nests.d.ts +3 -2
  122. package/dist/lang/ast/query-properties/ordering.d.ts +5 -3
  123. package/dist/lang/ast/query-properties/project-statement.d.ts +4 -3
  124. package/dist/lang/ast/query-properties/qop-desc.d.ts +5 -5
  125. package/dist/lang/ast/query-properties/sampling.d.ts +3 -2
  126. package/dist/lang/ast/query-utils.d.ts +2 -2
  127. package/dist/lang/ast/source-elements/composite-source.d.ts +3 -3
  128. package/dist/lang/ast/source-elements/named-source.d.ts +4 -4
  129. package/dist/lang/ast/source-elements/query-source.d.ts +4 -4
  130. package/dist/lang/ast/source-elements/refined-source.d.ts +4 -4
  131. package/dist/lang/ast/source-elements/source.d.ts +3 -3
  132. package/dist/lang/ast/source-elements/sql-source.d.ts +4 -4
  133. package/dist/lang/ast/source-elements/table-source.d.ts +2 -2
  134. package/dist/lang/ast/source-properties/field-list-edit.d.ts +1 -1
  135. package/dist/lang/ast/source-properties/join.d.ts +14 -11
  136. package/dist/lang/ast/source-properties/primary-key.d.ts +1 -1
  137. package/dist/lang/ast/source-properties/renames.d.ts +4 -4
  138. package/dist/lang/ast/source-properties/timezone-statement.d.ts +2 -2
  139. package/dist/lang/ast/source-properties/view-field-declaration.d.ts +7 -6
  140. package/dist/lang/ast/source-properties/views.d.ts +2 -2
  141. package/dist/lang/ast/source-query-elements/include-item.d.ts +4 -3
  142. package/dist/lang/ast/source-query-elements/source-query-element.d.ts +3 -3
  143. package/dist/lang/ast/source-query-elements/sq-arrow.d.ts +3 -3
  144. package/dist/lang/ast/source-query-elements/sq-extend.d.ts +2 -2
  145. package/dist/lang/ast/source-query-elements/sq-reference.d.ts +4 -4
  146. package/dist/lang/ast/source-query-elements/sq-refine.d.ts +1 -1
  147. package/dist/lang/ast/source-query-elements/sq-source.d.ts +1 -1
  148. package/dist/lang/ast/sql-elements/sql-string.d.ts +1 -1
  149. package/dist/lang/ast/statements/define-query.d.ts +6 -4
  150. package/dist/lang/ast/statements/define-source.d.ts +7 -5
  151. package/dist/lang/ast/statements/import-statement.d.ts +3 -2
  152. package/dist/lang/ast/struct-utils.d.ts +2 -2
  153. package/dist/lang/ast/time-utils.d.ts +2 -2
  154. package/dist/lang/ast/typedesc-utils.d.ts +1 -1
  155. package/dist/lang/ast/types/annotation-elements.d.ts +6 -5
  156. package/dist/lang/ast/types/binary_operators.d.ts +1 -1
  157. package/dist/lang/ast/types/definition-list.d.ts +4 -3
  158. package/dist/lang/ast/types/dialect-name-space.d.ts +3 -3
  159. package/dist/lang/ast/types/document-compile-result.d.ts +2 -2
  160. package/dist/lang/ast/types/expr-result.d.ts +1 -1
  161. package/dist/lang/ast/types/expr-value.d.ts +3 -3
  162. package/dist/lang/ast/types/expression-def.d.ts +4 -4
  163. package/dist/lang/ast/types/field-collection-member.d.ts +2 -2
  164. package/dist/lang/ast/types/field-prop-statement.d.ts +1 -1
  165. package/dist/lang/ast/types/field-space.d.ts +5 -5
  166. package/dist/lang/ast/types/global-name-space.d.ts +3 -3
  167. package/dist/lang/ast/types/granular-result.d.ts +3 -3
  168. package/dist/lang/ast/types/lookup-result.d.ts +3 -3
  169. package/dist/lang/ast/types/malloy-element.d.ts +10 -9
  170. package/dist/lang/ast/types/model-entry.d.ts +1 -1
  171. package/dist/lang/ast/types/name-space.d.ts +1 -1
  172. package/dist/lang/ast/types/noteable.d.ts +1 -1
  173. package/dist/lang/ast/types/op-desc.d.ts +2 -2
  174. package/dist/lang/ast/types/pipeline-comp.d.ts +1 -1
  175. package/dist/lang/ast/types/query-builder.d.ts +4 -4
  176. package/dist/lang/ast/types/query-comp.d.ts +1 -1
  177. package/dist/lang/ast/types/query-element.d.ts +3 -3
  178. package/dist/lang/ast/types/query-extend-property.d.ts +1 -1
  179. package/dist/lang/ast/types/query-item.d.ts +3 -3
  180. package/dist/lang/ast/types/query-property-interface.d.ts +1 -1
  181. package/dist/lang/ast/types/query-property.d.ts +2 -2
  182. package/dist/lang/ast/types/source-desc.d.ts +1 -1
  183. package/dist/lang/ast/types/source-property.d.ts +1 -1
  184. package/dist/lang/ast/types/space-entry.d.ts +3 -3
  185. package/dist/lang/ast/types/space-field.d.ts +2 -2
  186. package/dist/lang/ast/types/space-param.d.ts +2 -2
  187. package/dist/lang/ast/types/time-result.d.ts +2 -2
  188. package/dist/lang/ast/view-elements/qop-desc-view.d.ts +4 -4
  189. package/dist/lang/ast/view-elements/reference-view.d.ts +5 -5
  190. package/dist/lang/ast/view-elements/refine-utils.d.ts +2 -2
  191. package/dist/lang/ast/view-elements/view-arrow.d.ts +4 -4
  192. package/dist/lang/ast/view-elements/view-refine.d.ts +4 -4
  193. package/dist/lang/ast/view-elements/view.d.ts +4 -4
  194. package/dist/lang/field-utils.d.ts +1 -1
  195. package/dist/lang/malloy-parse-info.d.ts +1 -1
  196. package/dist/lang/malloy-to-ast.d.ts +9 -9
  197. package/dist/lang/malloy-to-stable-query.d.ts +7 -7
  198. package/dist/lang/parse-log.d.ts +2 -2
  199. package/dist/lang/parse-malloy.d.ts +9 -7
  200. package/dist/lang/parse-tree-walkers/document-completion-walker.d.ts +2 -2
  201. package/dist/lang/parse-tree-walkers/document-help-context-walker.d.ts +1 -1
  202. package/dist/lang/parse-tree-walkers/document-symbol-walker.d.ts +4 -4
  203. package/dist/lang/parse-tree-walkers/explore-query-walker.d.ts +3 -3
  204. package/dist/lang/parse-tree-walkers/find-external-references.d.ts +4 -4
  205. package/dist/lang/parse-tree-walkers/find-table-path-walker.d.ts +4 -4
  206. package/dist/lang/parse-tree-walkers/model-annotation-walker.d.ts +4 -4
  207. package/dist/lang/parse-utils.d.ts +2 -2
  208. package/dist/lang/reference-list.d.ts +1 -1
  209. package/dist/lang/run-malloy-parser.d.ts +2 -2
  210. package/dist/lang/syntax-errors/custom-error-messages.d.ts +1 -1
  211. package/dist/lang/syntax-errors/malloy-parser-error-listener.d.ts +4 -4
  212. package/dist/lang/test/expr-to-str.d.ts +1 -1
  213. package/dist/lang/test/parse-expects.d.ts +2 -2
  214. package/dist/lang/test/test-translator.d.ts +7 -7
  215. package/dist/lang/translate-response.d.ts +7 -7
  216. package/dist/lang/utils.d.ts +3 -3
  217. package/dist/lang/zone.d.ts +1 -1
  218. package/dist/malloy.d.ts +11 -10
  219. package/dist/model/composite_source_utils.d.ts +1 -1
  220. package/dist/model/filter_compilers.d.ts +2 -2
  221. package/dist/model/malloy_query.d.ts +6 -6
  222. package/dist/model/materialization/utils.d.ts +1 -1
  223. package/dist/model/sql_block.d.ts +2 -2
  224. package/dist/model/utils.d.ts +1 -1
  225. package/dist/run_sql_options.d.ts +1 -1
  226. package/dist/to_stable.d.ts +2 -2
  227. package/package.json +4 -4
@@ -1,8 +1,10 @@
1
- import { Annotation } from '../../../model/malloy_types';
2
- import { HasParameter } from '../parameters/has-parameter';
3
- import { DocStatement, Document, MalloyElement, DocStatementList } from '../types/malloy-element';
4
- import { Noteable, extendNoteMethod } from '../types/noteable';
5
- import { SourceQueryElement } from '../source-query-elements/source-query-element';
1
+ import type { Annotation } from '../../../model/malloy_types';
2
+ import type { HasParameter } from '../parameters/has-parameter';
3
+ import type { DocStatement, Document } from '../types/malloy-element';
4
+ import { MalloyElement, DocStatementList } from '../types/malloy-element';
5
+ import type { Noteable } from '../types/noteable';
6
+ import { extendNoteMethod } from '../types/noteable';
7
+ import type { SourceQueryElement } from '../source-query-elements/source-query-element';
6
8
  export declare class DefineSource extends MalloyElement implements DocStatement, Noteable {
7
9
  readonly name: string;
8
10
  readonly sourceExpr: SourceQueryElement | undefined;
@@ -1,5 +1,6 @@
1
- import { ModelDataRequest } from '../../translate-response';
2
- import { DocStatement, Document, ListOf, MalloyElement } from '../types/malloy-element';
1
+ import type { ModelDataRequest } from '../../translate-response';
2
+ import type { DocStatement, Document } from '../types/malloy-element';
3
+ import { ListOf, MalloyElement } from '../types/malloy-element';
3
4
  export declare class ImportSourceName extends MalloyElement {
4
5
  readonly text: string;
5
6
  elementType: string;
@@ -1,5 +1,5 @@
1
- import { FieldDef, PipeSegment, SourceDef, StructDef } from '../../model/malloy_types';
2
- import { MalloyElement } from './types/malloy-element';
1
+ import type { FieldDef, PipeSegment, SourceDef, StructDef } from '../../model/malloy_types';
2
+ import type { MalloyElement } from './types/malloy-element';
3
3
  export declare function opOutputStruct(logTo: MalloyElement, inputStruct: SourceDef, opDesc: PipeSegment): SourceDef;
4
4
  export declare function getFinalStruct(logTo: MalloyElement, walkStruct: SourceDef, pipeline: PipeSegment[]): SourceDef;
5
5
  export declare function getStructFieldDef(s: StructDef, fn: string): FieldDef | undefined;
@@ -1,5 +1,5 @@
1
- import { Expr, TemporalFieldType, TimestampUnit, CastType, TypecastExpr, TimeDeltaExpr, ExpressionValueType } from '../../model/malloy_types';
2
- import { TimeResult } from './types/time-result';
1
+ import type { Expr, TemporalFieldType, TimestampUnit, CastType, TypecastExpr, TimeDeltaExpr, ExpressionValueType } from '../../model/malloy_types';
2
+ import type { TimeResult } from './types/time-result';
3
3
  export declare function timeOffset(timeType: TemporalFieldType, from: Expr, op: '+' | '-', n: Expr, timeframe: TimestampUnit): TimeDeltaExpr;
4
4
  export declare function castTo(castType: CastType | {
5
5
  raw: string;
@@ -1,4 +1,4 @@
1
- import { AtomicTypeDef, TypeDesc } from '../../model';
1
+ import type { AtomicTypeDef, TypeDesc } from '../../model';
2
2
  export declare const nullT: TypeDesc;
3
3
  export declare const numberT: TypeDesc;
4
4
  export declare const stringT: TypeDesc;
@@ -1,8 +1,9 @@
1
- import { Note } from '../../../model/malloy_types';
2
- import { Tag } from '@malloydata/malloy-tag';
3
- import { MessageLogger } from '../../parse-log';
4
- import { Document, DocStatement, MalloyElement } from './malloy-element';
5
- import { QueryPropertyInterface } from './query-property-interface';
1
+ import type { Note } from '../../../model/malloy_types';
2
+ import type { Tag } from '@malloydata/malloy-tag';
3
+ import type { MessageLogger } from '../../parse-log';
4
+ import type { Document, DocStatement } from './malloy-element';
5
+ import { MalloyElement } from './malloy-element';
6
+ import type { QueryPropertyInterface } from './query-property-interface';
6
7
  export declare class ObjectAnnotation extends MalloyElement implements QueryPropertyInterface {
7
8
  readonly notes: Note[];
8
9
  elementType: string;
@@ -1,4 +1,4 @@
1
- import { BinaryOperator } from '../../../model';
1
+ import type { BinaryOperator } from '../../../model';
2
2
  export type LogicalMalloyOperator = 'and' | 'or';
3
3
  export type ArithmeticMalloyOperator = '+' | '-' | '*' | '/' | '%';
4
4
  export type EqualityMalloyOperator = '~' | '!~' | '=' | '!=';
@@ -1,6 +1,7 @@
1
- import { Annotation } from '../../../model';
2
- import { ListOf, MalloyElement } from './malloy-element';
3
- import { Noteable } from '../types/noteable';
1
+ import type { Annotation } from '../../../model';
2
+ import type { MalloyElement } from './malloy-element';
3
+ import { ListOf } from './malloy-element';
4
+ import type { Noteable } from '../types/noteable';
4
5
  export declare abstract class DefinitionList<DT extends MalloyElement> extends ListOf<DT> implements Noteable {
5
6
  readonly isNoteableObj = true;
6
7
  note?: Annotation;
@@ -1,6 +1,6 @@
1
- import { Dialect } from '../../../dialect';
2
- import { ModelEntry } from './model-entry';
3
- import { NameSpace } from './name-space';
1
+ import type { Dialect } from '../../../dialect';
2
+ import type { ModelEntry } from './model-entry';
3
+ import type { NameSpace } from './name-space';
4
4
  /**
5
5
  * This is the dialect namespace, which sits below the global namespace.
6
6
  */
@@ -1,5 +1,5 @@
1
- import { ModelDef } from '../../../model/malloy_types';
2
- import { ModelDataRequest } from '../../translate-response';
1
+ import type { ModelDef } from '../../../model/malloy_types';
2
+ import type { ModelDataRequest } from '../../translate-response';
3
3
  export interface DocumentCompileResult {
4
4
  modelDef: ModelDef;
5
5
  needs: ModelDataRequest;
@@ -1,4 +1,4 @@
1
- import { Expr, TypeDesc } from '../../../model/malloy_types';
1
+ import type { Expr, TypeDesc } from '../../../model/malloy_types';
2
2
  type MorphicValues = Record<string, Expr>;
3
3
  export interface WithValue {
4
4
  value: Expr;
@@ -1,6 +1,6 @@
1
- import { Expr, ExpressionValueTypeDef, TemporalTypeDef, TimestampUnit } from '../../../model';
2
- import { ExprResult } from './expr-result';
3
- import { TimeResult } from './time-result';
1
+ import type { Expr, ExpressionValueTypeDef, TemporalTypeDef, TimestampUnit } from '../../../model';
2
+ import type { ExprResult } from './expr-result';
3
+ import type { TimeResult } from './time-result';
4
4
  export type ExprValue = ExprResult | TimeResult;
5
5
  export declare function computedExprValue({ value, dataType, from, }: {
6
6
  value: Expr;
@@ -1,8 +1,8 @@
1
- import { TimestampUnit } from '../../../model/malloy_types';
2
- import { ExprValue } from './expr-value';
3
- import { FieldSpace } from './field-space';
1
+ import type { TimestampUnit } from '../../../model/malloy_types';
2
+ import type { ExprValue } from './expr-value';
3
+ import type { FieldSpace } from './field-space';
4
4
  import { MalloyElement } from './malloy-element';
5
- import { BinaryMalloyOperator } from './binary_operators';
5
+ import type { BinaryMalloyOperator } from './binary_operators';
6
6
  /** Node types in an alternation tree */
7
7
  export declare enum ATNodeType {
8
8
  And = 0,
@@ -1,5 +1,5 @@
1
1
  import { AtomicFieldDeclaration } from '../query-items/field-declaration';
2
- import { FieldReferenceElement } from '../query-items/field-references';
3
- import { MalloyElement } from './malloy-element';
2
+ import type { FieldReferenceElement } from '../query-items/field-references';
3
+ import type { MalloyElement } from './malloy-element';
4
4
  export type FieldCollectionMember = FieldReferenceElement | AtomicFieldDeclaration;
5
5
  export declare function isFieldCollectionMember(el: MalloyElement): el is FieldCollectionMember;
@@ -2,6 +2,6 @@ import { FunctionOrdering } from '../expressions/function-ordering';
2
2
  import { Filter } from '../query-properties/filters';
3
3
  import { Limit } from '../query-properties/limit';
4
4
  import { PartitionBy } from '../expressions/partition_by';
5
- import { MalloyElement } from './malloy-element';
5
+ import type { MalloyElement } from './malloy-element';
6
6
  export type FieldPropStatement = Filter | Limit | PartitionBy | FunctionOrdering;
7
7
  export declare function isFieldPropStatement(el: MalloyElement): el is FieldPropStatement;
@@ -1,9 +1,9 @@
1
- import { Dialect } from '../../../dialect/dialect';
2
- import { SourceDef, StructDef } from '../../../model/malloy_types';
3
- import { QueryOperationSpace } from '../field-space/query-spaces';
4
- import { LookupResult } from './lookup-result';
1
+ import type { Dialect } from '../../../dialect/dialect';
2
+ import type { SourceDef, StructDef } from '../../../model/malloy_types';
3
+ import type { QueryOperationSpace } from '../field-space/query-spaces';
4
+ import type { LookupResult } from './lookup-result';
5
5
  import { MalloyElement } from './malloy-element';
6
- import { SpaceEntry } from './space-entry';
6
+ import type { SpaceEntry } from './space-entry';
7
7
  /**
8
8
  * A FieldSpace is a hierarchy of namespaces, where the leaf nodes
9
9
  * are fields. A FieldSpace can lookup fields, and generate a StructDef
@@ -1,6 +1,6 @@
1
- import { FunctionDef } from '../../../model';
2
- import { ModelEntry } from './model-entry';
3
- import { NameSpace } from './name-space';
1
+ import type { FunctionDef } from '../../../model';
2
+ import type { ModelEntry } from './model-entry';
3
+ import type { NameSpace } from './name-space';
4
4
  /**
5
5
  * This is a global namespace which exists in the root of all Documents
6
6
  * and includes SQL function definitions.
@@ -1,6 +1,6 @@
1
- import { TimestampUnit } from '../../../model/malloy_types';
2
- import { ExprValue } from './expr-value';
3
- import { TimeResult } from './time-result';
1
+ import type { TimestampUnit } from '../../../model/malloy_types';
2
+ import type { ExprValue } from './expr-value';
3
+ import type { TimeResult } from './time-result';
4
4
  export type GranularResult = TimeResult & {
5
5
  timeframe: TimestampUnit;
6
6
  };
@@ -1,6 +1,6 @@
1
- import { JoinElementType, JoinType } from '../../../model';
2
- import { MessageCode } from '../../parse-log';
3
- import { SpaceEntry } from './space-entry';
1
+ import type { JoinElementType, JoinType } from '../../../model';
2
+ import type { MessageCode } from '../../parse-log';
3
+ import type { SpaceEntry } from './space-entry';
4
4
  export interface JoinPathElement {
5
5
  name: string;
6
6
  joinElementType: JoinElementType;
@@ -1,13 +1,14 @@
1
- import { Annotation, DocumentLocation, DocumentReference, ModelDef, ModelAnnotation, NamedModelObject, Query, StructDef } from '../../../model/malloy_types';
1
+ import type { Annotation, DocumentLocation, DocumentReference, ModelDef, ModelAnnotation, NamedModelObject, Query, StructDef } from '../../../model/malloy_types';
2
2
  import { Tag } from '@malloydata/malloy-tag';
3
- import { LogMessageOptions, MessageLogger, MessageParameterType, MessageCode } from '../../parse-log';
4
- import { MalloyTranslation } from '../../parse-malloy';
5
- import { ModelDataRequest } from '../../translate-response';
6
- import { DocumentCompileResult } from './document-compile-result';
7
- import { ExprValue } from './expr-value';
8
- import { ModelEntry } from './model-entry';
9
- import { NameSpace } from './name-space';
10
- import { Noteable, extendNoteMethod } from './noteable';
3
+ import type { LogMessageOptions, MessageLogger, MessageParameterType, MessageCode } from '../../parse-log';
4
+ import type { MalloyTranslation } from '../../parse-malloy';
5
+ import type { ModelDataRequest } from '../../translate-response';
6
+ import type { DocumentCompileResult } from './document-compile-result';
7
+ import type { ExprValue } from './expr-value';
8
+ import type { ModelEntry } from './model-entry';
9
+ import type { NameSpace } from './name-space';
10
+ import type { Noteable } from './noteable';
11
+ import { extendNoteMethod } from './noteable';
11
12
  export declare abstract class MalloyElement {
12
13
  abstract elementType: string;
13
14
  codeLocation?: DocumentLocation;
@@ -1,4 +1,4 @@
1
- import { NamedModelObject } from '../../../model/malloy_types';
1
+ import type { NamedModelObject } from '../../../model/malloy_types';
2
2
  export interface ModelEntry {
3
3
  entry: NamedModelObject;
4
4
  exported?: boolean;
@@ -1,4 +1,4 @@
1
- import { ModelEntry } from './model-entry';
1
+ import type { ModelEntry } from './model-entry';
2
2
  export interface NameSpace {
3
3
  getEntry(name: string): ModelEntry | undefined;
4
4
  setEntry(name: string, value: ModelEntry, exported: boolean): void;
@@ -1,4 +1,4 @@
1
- import { Annotation } from '../../../model/malloy_types';
1
+ import type { Annotation } from '../../../model/malloy_types';
2
2
  /**
3
3
  * An object which can receive annotations is "Noteable"
4
4
  */
@@ -1,5 +1,5 @@
1
- import { PipeSegment } from '../../../model/malloy_types';
2
- import { SourceFieldSpace } from './field-space';
1
+ import type { PipeSegment } from '../../../model/malloy_types';
2
+ import type { SourceFieldSpace } from './field-space';
3
3
  export interface OpDesc {
4
4
  segment: PipeSegment;
5
5
  outputSpace: () => SourceFieldSpace;
@@ -1,4 +1,4 @@
1
- import { Annotation, PipeSegment, SourceDef } from '../../../model/malloy_types';
1
+ import type { Annotation, PipeSegment, SourceDef } from '../../../model/malloy_types';
2
2
  export interface PipelineComp {
3
3
  outputStruct: SourceDef;
4
4
  pipeline: PipeSegment[];
@@ -1,7 +1,7 @@
1
- import { FilterCondition, PipeSegment } from '../../../model/malloy_types';
2
- import { QueryProperty } from './query-property';
3
- import { QueryInputSpace } from '../field-space/query-input-space';
4
- import { QueryOperationSpace } from '../field-space/query-spaces';
1
+ import type { FilterCondition, PipeSegment } from '../../../model/malloy_types';
2
+ import type { QueryProperty } from './query-property';
3
+ import type { QueryInputSpace } from '../field-space/query-input-space';
4
+ import type { QueryOperationSpace } from '../field-space/query-spaces';
5
5
  export interface QueryBuilder {
6
6
  filters: FilterCondition[];
7
7
  type: 'grouping' | 'index' | 'project';
@@ -1,4 +1,4 @@
1
- import { Query, SourceDef } from '../../../model/malloy_types';
1
+ import type { Query, SourceDef } from '../../../model/malloy_types';
2
2
  export interface QueryComp {
3
3
  outputStruct: SourceDef;
4
4
  query: Query;
@@ -1,6 +1,6 @@
1
- import { MalloyElement } from './malloy-element';
2
- import { Query } from '../../../model/malloy_types';
3
- import { QueryComp } from './query-comp';
1
+ import type { MalloyElement } from './malloy-element';
2
+ import type { Query } from '../../../model/malloy_types';
3
+ import type { QueryComp } from './query-comp';
4
4
  export interface QueryElement extends MalloyElement {
5
5
  queryComp(isRefOk: boolean): QueryComp;
6
6
  query(): Query;
@@ -1,5 +1,5 @@
1
1
  import { Dimensions } from '../source-properties/dimensions';
2
2
  import { Measures } from '../source-properties/measures';
3
- import { MalloyElement } from './malloy-element';
3
+ import type { MalloyElement } from './malloy-element';
4
4
  export type QueryExtendProperty = Dimensions | Measures;
5
5
  export declare function isQueryExtendProperty(q: MalloyElement): q is QueryExtendProperty;
@@ -1,4 +1,4 @@
1
- import { AtomicFieldDeclaration } from '../query-items/field-declaration';
2
- import { FieldReference } from '../query-items/field-references';
3
- import { NestFieldDeclaration } from '../query-properties/nest';
1
+ import type { AtomicFieldDeclaration } from '../query-items/field-declaration';
2
+ import type { FieldReference } from '../query-items/field-references';
3
+ import type { NestFieldDeclaration } from '../query-properties/nest';
4
4
  export type QueryItem = AtomicFieldDeclaration | FieldReference | NestFieldDeclaration;
@@ -1,4 +1,4 @@
1
- import { QueryBuilder } from './query-builder';
1
+ import type { QueryBuilder } from './query-builder';
2
2
  export declare enum QueryClass {
3
3
  Index = "index",
4
4
  Project = "project",
@@ -1,4 +1,4 @@
1
- import { MalloyElement } from './malloy-element';
2
- import { QueryPropertyInterface } from './query-property-interface';
1
+ import type { MalloyElement } from './malloy-element';
2
+ import type { QueryPropertyInterface } from './query-property-interface';
3
3
  export type QueryProperty = MalloyElement & QueryPropertyInterface;
4
4
  export declare function isQueryProperty(q: MalloyElement): q is QueryProperty;
@@ -1,4 +1,4 @@
1
- import { SourceProperty } from './source-property';
1
+ import type { SourceProperty } from './source-property';
2
2
  import { ListOf } from './malloy-element';
3
3
  export declare class SourceDesc extends ListOf<SourceProperty> {
4
4
  elementType: string;
@@ -4,7 +4,7 @@ import { FieldListEdit } from '../source-properties/field-list-edit';
4
4
  import { Renames } from '../source-properties/renames';
5
5
  import { PrimaryKey } from '../source-properties/primary-key';
6
6
  import { Views } from '../source-properties/views';
7
- import { MalloyElement } from './malloy-element';
7
+ import type { MalloyElement } from './malloy-element';
8
8
  import { TimezoneStatement } from '../source-properties/timezone-statement';
9
9
  import { ObjectAnnotation } from './annotation-elements';
10
10
  import { JoinStatement } from '../source-properties/join';
@@ -1,6 +1,6 @@
1
- import { TypeDesc } from '../../../model';
2
- import { DynamicSpace } from '../field-space/dynamic-space';
3
- import { MalloyElement } from './malloy-element';
1
+ import type { TypeDesc } from '../../../model';
2
+ import type { DynamicSpace } from '../field-space/dynamic-space';
3
+ import type { MalloyElement } from './malloy-element';
4
4
  export declare abstract class SpaceEntry {
5
5
  abstract typeDesc(): TypeDesc;
6
6
  abstract refType: 'field' | 'parameter';
@@ -1,6 +1,6 @@
1
- import { FieldDef, QueryFieldDef, TypeDesc, AtomicFieldDef } from '../../../model/malloy_types';
1
+ import type { FieldDef, QueryFieldDef, TypeDesc, AtomicFieldDef } from '../../../model/malloy_types';
2
2
  import { SpaceEntry } from './space-entry';
3
- import { FieldSpace } from './field-space';
3
+ import type { FieldSpace } from './field-space';
4
4
  export declare abstract class SpaceField extends SpaceEntry {
5
5
  readonly refType = "field";
6
6
  protected fieldTypeFromFieldDef(def: AtomicFieldDef): TypeDesc;
@@ -1,6 +1,6 @@
1
- import { FieldDefType, Parameter, TypeDesc } from '../../../model/malloy_types';
1
+ import type { FieldDefType, Parameter, TypeDesc } from '../../../model/malloy_types';
2
2
  import { SpaceEntry } from './space-entry';
3
- import { HasParameter } from '../parameters/has-parameter';
3
+ import type { HasParameter } from '../parameters/has-parameter';
4
4
  export declare abstract class SpaceParam extends SpaceEntry {
5
5
  abstract parameter(): Parameter;
6
6
  readonly refType = "parameter";
@@ -1,5 +1,5 @@
1
- import { TemporalTypeDef, TimestampUnit } from '../../../model/malloy_types';
2
- import { ExprResult } from './expr-result';
1
+ import type { TemporalTypeDef, TimestampUnit } from '../../../model/malloy_types';
2
+ import type { ExprResult } from './expr-result';
3
3
  export type TimeResult = TemporalTypeDef & ExprResult & {
4
4
  timeframe?: TimestampUnit;
5
5
  };
@@ -1,8 +1,8 @@
1
- import { PipeSegment } from '../../../model/malloy_types';
2
- import { QueryOperationSpace } from '../field-space/query-spaces';
1
+ import type { PipeSegment } from '../../../model/malloy_types';
2
+ import type { QueryOperationSpace } from '../field-space/query-spaces';
3
3
  import { QOpDesc } from '../query-properties/qop-desc';
4
- import { SourceFieldSpace } from '../types/field-space';
5
- import { PipelineComp } from '../types/pipeline-comp';
4
+ import type { SourceFieldSpace } from '../types/field-space';
5
+ import type { PipelineComp } from '../types/pipeline-comp';
6
6
  import { View } from './view';
7
7
  /**
8
8
  * A view operation consisting of literal view operations.
@@ -1,8 +1,8 @@
1
- import { PipeSegment } from '../../../model/malloy_types';
2
- import { QueryOperationSpace } from '../field-space/query-spaces';
3
- import { ViewOrScalarFieldReference } from '../query-items/field-references';
4
- import { SourceFieldSpace } from '../types/field-space';
5
- import { PipelineComp } from '../types/pipeline-comp';
1
+ import type { PipeSegment } from '../../../model/malloy_types';
2
+ import type { QueryOperationSpace } from '../field-space/query-spaces';
3
+ import type { ViewOrScalarFieldReference } from '../query-items/field-references';
4
+ import type { SourceFieldSpace } from '../types/field-space';
5
+ import type { PipelineComp } from '../types/pipeline-comp';
6
6
  import { View } from './view';
7
7
  /**
8
8
  * A view operation that is just a reference to another view or a
@@ -1,3 +1,3 @@
1
- import { PipeSegment } from '../../../model';
2
- import { MalloyElement } from '../types/malloy-element';
1
+ import type { PipeSegment } from '../../../model';
2
+ import type { MalloyElement } from '../types/malloy-element';
3
3
  export declare function refine(logTo: MalloyElement, refineTo: PipeSegment[], refineFrom: PipeSegment): PipeSegment[];
@@ -1,7 +1,7 @@
1
- import { PipeSegment } from '../../../model/malloy_types';
2
- import { QueryOperationSpace } from '../field-space/query-spaces';
3
- import { FieldSpace } from '../types/field-space';
4
- import { PipelineComp } from '../types/pipeline-comp';
1
+ import type { PipeSegment } from '../../../model/malloy_types';
2
+ import type { QueryOperationSpace } from '../field-space/query-spaces';
3
+ import type { FieldSpace } from '../types/field-space';
4
+ import type { PipelineComp } from '../types/pipeline-comp';
5
5
  import { View } from './view';
6
6
  /**
7
7
  * A view operation which represents adding a segment (or multiple
@@ -1,7 +1,7 @@
1
- import { PipeSegment } from '../../../model';
2
- import { QueryOperationSpace } from '../field-space/query-spaces';
3
- import { FieldSpace, SourceFieldSpace } from '../types/field-space';
4
- import { PipelineComp } from '../types/pipeline-comp';
1
+ import type { PipeSegment } from '../../../model';
2
+ import type { QueryOperationSpace } from '../field-space/query-spaces';
3
+ import type { FieldSpace, SourceFieldSpace } from '../types/field-space';
4
+ import type { PipelineComp } from '../types/pipeline-comp';
5
5
  import { View } from './view';
6
6
  /**
7
7
  * A view operation that represents the refinement of one view
@@ -1,8 +1,8 @@
1
- import { PipeSegment } from '../../../model/malloy_types';
2
- import { QueryOperationSpace } from '../field-space/query-spaces';
3
- import { FieldSpace } from '../types/field-space';
1
+ import type { PipeSegment } from '../../../model/malloy_types';
2
+ import type { QueryOperationSpace } from '../field-space/query-spaces';
3
+ import type { FieldSpace } from '../types/field-space';
4
4
  import { MalloyElement } from '../types/malloy-element';
5
- import { PipelineComp } from '../types/pipeline-comp';
5
+ import type { PipelineComp } from '../types/pipeline-comp';
6
6
  /**
7
7
  * A `View` represents a sequence of operations to be performed on a
8
8
  * source to generate a query. A `View` can generate a pipeline from
@@ -1,4 +1,4 @@
1
- import { FieldDef, QueryFieldDef } from '../model/malloy_types';
1
+ import type { FieldDef, QueryFieldDef } from '../model/malloy_types';
2
2
  type NamedFieldThing = FieldDef | QueryFieldDef;
3
3
  export declare function nameFromDef(f1: NamedFieldThing): string;
4
4
  export declare function mergeFields<T extends NamedFieldThing>(older: T[] | undefined, newer: T[]): T[];
@@ -1,4 +1,4 @@
1
- import { ParseInfo } from './utils';
1
+ import type { ParseInfo } from './utils';
2
2
  export interface MalloyParseInfo extends ParseInfo {
3
3
  importBaseURL: string;
4
4
  }
@@ -1,15 +1,15 @@
1
1
  import { ParserRuleContext } from 'antlr4ts';
2
- import { ParseTree, TerminalNode } from 'antlr4ts/tree';
2
+ import type { ParseTree, TerminalNode } from 'antlr4ts/tree';
3
3
  import { AbstractParseTreeVisitor } from 'antlr4ts/tree/AbstractParseTreeVisitor';
4
- import { MalloyParserVisitor } from './lib/Malloy/MalloyParserVisitor';
5
- import * as parse from './lib/Malloy/MalloyParser';
4
+ import type { MalloyParserVisitor } from './lib/Malloy/MalloyParserVisitor';
5
+ import type * as parse from './lib/Malloy/MalloyParser';
6
6
  import * as ast from './ast';
7
- import { LogMessageOptions, LogSeverity, MessageCode, MessageLogger, MessageParameterType } from './parse-log';
8
- import { MalloyParseInfo } from './malloy-parse-info';
9
- import { FieldDeclarationConstructor } from './ast';
10
- import { HasString, HasID } from './parse-utils';
11
- import { CastType } from '../model';
12
- import { AccessModifierLabel, DocumentLocation, DocumentRange, Note } from '../model/malloy_types';
7
+ import type { LogMessageOptions, LogSeverity, MessageCode, MessageLogger, MessageParameterType } from './parse-log';
8
+ import type { MalloyParseInfo } from './malloy-parse-info';
9
+ import type { FieldDeclarationConstructor } from './ast';
10
+ import type { HasString, HasID } from './parse-utils';
11
+ import type { CastType } from '../model';
12
+ import type { AccessModifierLabel, DocumentLocation, DocumentRange, Note } from '../model/malloy_types';
13
13
  import { Tag } from '@malloydata/malloy-tag';
14
14
  declare class ErrorNode extends ast.SourceQueryElement {
15
15
  elementType: string;
@@ -1,12 +1,12 @@
1
- import { ParserRuleContext } from 'antlr4ts';
2
- import { ParseTree, TerminalNode } from 'antlr4ts/tree';
1
+ import type { ParserRuleContext } from 'antlr4ts';
2
+ import type { ParseTree, TerminalNode } from 'antlr4ts/tree';
3
3
  import { AbstractParseTreeVisitor } from 'antlr4ts/tree/AbstractParseTreeVisitor';
4
- import { MalloyParserVisitor } from './lib/Malloy/MalloyParserVisitor';
5
- import * as Malloy from '@malloydata/malloy-interfaces';
4
+ import type { MalloyParserVisitor } from './lib/Malloy/MalloyParserVisitor';
5
+ import type * as Malloy from '@malloydata/malloy-interfaces';
6
6
  import * as parse from './lib/Malloy/MalloyParser';
7
- import { LogMessageOptions, MessageCode, MessageLogger, MessageParameterType } from './parse-log';
8
- import { DocumentLocation } from '../model/malloy_types';
9
- import { ParseInfo } from './utils';
7
+ import type { LogMessageOptions, MessageCode, MessageLogger, MessageParameterType } from './parse-log';
8
+ import type { DocumentLocation } from '../model/malloy_types';
9
+ import type { ParseInfo } from './utils';
10
10
  type HasAnnotations = ParserRuleContext & {
11
11
  ANNOTATION: () => TerminalNode[];
12
12
  };
@@ -1,5 +1,5 @@
1
- import { CompositeFieldUsage, DocumentLocation, ExpressionValueType } from '../model/malloy_types';
2
- import { EventStream } from '../runtime_types';
1
+ import type { CompositeFieldUsage, DocumentLocation, ExpressionValueType } from '../model/malloy_types';
2
+ import type { EventStream } from '../runtime_types';
3
3
  export type LogSeverity = 'error' | 'warn' | 'debug';
4
4
  /**
5
5
  * Default severity is "error"
@@ -1,12 +1,14 @@
1
- import { DocumentLocation, DocumentPosition, DocumentReference, ImportLocation, ModelDef, NamedModelObject, SourceDef, SQLSourceDef, DependencyTree, DocumentRange } from '../model/malloy_types';
2
- import { BaseMessageLogger, LogMessage, LogMessageOptions, MessageCode, MessageParameterType } from './parse-log';
3
- import { Zone, ZoneData } from './zone';
1
+ import type { DocumentLocation, DocumentPosition, DocumentReference, ImportLocation, ModelDef, NamedModelObject, SourceDef, SQLSourceDef, DependencyTree, DocumentRange } from '../model/malloy_types';
2
+ import type { LogMessage, LogMessageOptions, MessageCode, MessageParameterType } from './parse-log';
3
+ import { BaseMessageLogger } from './parse-log';
4
+ import type { ZoneData } from './zone';
5
+ import { Zone } from './zone';
4
6
  import { ReferenceList } from './reference-list';
5
- import { ASTResponse, CompletionsResponse, DataRequestResponse, ProblemResponse, FatalResponse, FinalResponse, HelpContextResponse, MetadataResponse, ModelDataRequest, NeedURLData, TranslateResponse, ModelAnnotationResponse, TablePathResponse } from './translate-response';
7
+ import type { ASTResponse, CompletionsResponse, DataRequestResponse, ProblemResponse, FatalResponse, FinalResponse, HelpContextResponse, MetadataResponse, ModelDataRequest, NeedURLData, TranslateResponse, ModelAnnotationResponse, TablePathResponse } from './translate-response';
6
8
  import { Tag } from '@malloydata/malloy-tag';
7
- import { MalloyParseInfo } from './malloy-parse-info';
8
- import { EventStream } from '../runtime_types';
9
- import { ParserRuleContext } from 'antlr4ts';
9
+ import type { MalloyParseInfo } from './malloy-parse-info';
10
+ import type { EventStream } from '../runtime_types';
11
+ import type { ParserRuleContext } from 'antlr4ts';
10
12
  export type StepResponses = DataRequestResponse | ASTResponse | TranslateResponse | ParseResponse | MetadataResponse | PretranslatedResponse;
11
13
  /**
12
14
  * A Translation is a series of translation steps. Each step can depend
@@ -1,5 +1,5 @@
1
- import { CommonTokenStream } from 'antlr4ts';
2
- import { ParseTree } from 'antlr4ts/tree';
1
+ import type { CommonTokenStream } from 'antlr4ts';
2
+ import type { ParseTree } from 'antlr4ts/tree';
3
3
  export interface DocumentCompletion {
4
4
  type: string;
5
5
  text: string;
@@ -1,4 +1,4 @@
1
- import { ParseTree } from 'antlr4ts/tree';
1
+ import type { ParseTree } from 'antlr4ts/tree';
2
2
  export interface DocumentHelpContext {
3
3
  type: string;
4
4
  token: string | undefined;