alpha2 0.4.6 → 0.5.0

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 (119) hide show
  1. package/README.md +5 -4
  2. package/THIRD_PARTY_NOTICES.md +4 -0
  3. package/dist/abort.d.ts +12 -0
  4. package/dist/abort.js +48 -0
  5. package/dist/active-clock.d.ts +35 -0
  6. package/dist/active-clock.js +99 -0
  7. package/dist/assets.d.ts +28 -22
  8. package/dist/assets.js +8 -12
  9. package/dist/audio-layout.d.ts +52 -74
  10. package/dist/audio-layout.js +114 -148
  11. package/dist/audio-timeline.d.ts +89 -117
  12. package/dist/audio-timeline.js +102 -118
  13. package/dist/audio-worker.d.ts +12 -21
  14. package/dist/audio-worker.js +8 -13
  15. package/dist/audio-worklet-processor.js +45 -58
  16. package/dist/audio-worklet.d.ts +45 -76
  17. package/dist/audio-worklet.js +44 -79
  18. package/dist/audio.d.ts +15 -23
  19. package/dist/audio.js +9 -13
  20. package/dist/builder.d.ts +45 -63
  21. package/dist/builder.js +49 -45
  22. package/dist/capabilities.d.ts +99 -16
  23. package/dist/capabilities.js +2 -2
  24. package/dist/captions.d.ts +45 -22
  25. package/dist/captions.js +60 -15
  26. package/dist/chroma-siting.d.ts +24 -41
  27. package/dist/chroma-siting.js +38 -71
  28. package/dist/containers.d.ts +41 -30
  29. package/dist/containers.js +59 -27
  30. package/dist/decoder-fallback.d.ts +13 -0
  31. package/dist/decoder-fallback.js +38 -0
  32. package/dist/decoder-order.d.ts +24 -39
  33. package/dist/decoder-order.js +28 -42
  34. package/dist/edit.d.ts +77 -154
  35. package/dist/edit.js +98 -180
  36. package/dist/effects.d.ts +108 -177
  37. package/dist/effects.js +7 -9
  38. package/dist/export-destination.d.ts +25 -41
  39. package/dist/export-destination.js +20 -32
  40. package/dist/export-failure.d.ts +34 -59
  41. package/dist/export-failure.js +54 -48
  42. package/dist/export-metrics.d.ts +116 -0
  43. package/dist/export-metrics.js +74 -0
  44. package/dist/export-retry.d.ts +46 -29
  45. package/dist/export-retry.js +86 -51
  46. package/dist/exporter.d.ts +67 -116
  47. package/dist/exporter.js +133 -133
  48. package/dist/extensions.d.ts +69 -115
  49. package/dist/extensions.js +55 -82
  50. package/dist/frame-intake.d.ts +92 -0
  51. package/dist/frame-intake.js +114 -0
  52. package/dist/frame-supply.d.ts +96 -162
  53. package/dist/frame-supply.js +181 -171
  54. package/dist/generated/project-schema.d.ts +701 -485
  55. package/dist/generated/project-schema.js +55 -2
  56. package/dist/generated/project-shape.js +261 -16
  57. package/dist/geometry.d.ts +28 -34
  58. package/dist/geometry.js +18 -23
  59. package/dist/gpu-recovery.d.ts +92 -0
  60. package/dist/gpu-recovery.js +135 -0
  61. package/dist/hdr-frames.d.ts +82 -67
  62. package/dist/hdr-frames.js +112 -49
  63. package/dist/index.d.ts +4 -0
  64. package/dist/index.js +4 -0
  65. package/dist/json-text.d.ts +13 -23
  66. package/dist/json-text.js +10 -20
  67. package/dist/layout-values.d.ts +14 -22
  68. package/dist/layout-values.js +18 -21
  69. package/dist/layout.d.ts +48 -63
  70. package/dist/layout.js +37 -37
  71. package/dist/loudness.d.ts +27 -32
  72. package/dist/loudness.js +19 -23
  73. package/dist/media.d.ts +85 -237
  74. package/dist/media.js +133 -287
  75. package/dist/mediabunny.d.ts +166 -245
  76. package/dist/mediabunny.js +741 -580
  77. package/dist/physical-frames.d.ts +5 -17
  78. package/dist/physical-frames.js +4 -11
  79. package/dist/player.d.ts +56 -47
  80. package/dist/player.js +155 -40
  81. package/dist/presented-frames.d.ts +2 -7
  82. package/dist/presented-frames.js +3 -8
  83. package/dist/project.d.ts +73 -117
  84. package/dist/project.js +384 -445
  85. package/dist/rate-control.d.ts +9 -23
  86. package/dist/rate-control.js +7 -18
  87. package/dist/renderer-choice.d.ts +41 -0
  88. package/dist/renderer-choice.js +82 -0
  89. package/dist/repacked-bytes.d.ts +0 -2
  90. package/dist/repacked-bytes.js +2 -5
  91. package/dist/robustness.d.ts +25 -37
  92. package/dist/robustness.js +71 -54
  93. package/dist/sha256.d.ts +5 -13
  94. package/dist/sha256.js +9 -24
  95. package/dist/text.d.ts +97 -71
  96. package/dist/text.js +33 -70
  97. package/dist/video-frames.d.ts +7 -25
  98. package/dist/video-frames.js +12 -29
  99. package/dist/waveform.d.ts +5 -11
  100. package/dist/waveform.js +4 -9
  101. package/dist/worker-error.d.ts +5 -20
  102. package/dist/worker-error.js +8 -25
  103. package/dist/worker.d.ts +82 -95
  104. package/dist/worker.js +235 -143
  105. package/package.json +26 -2
  106. package/wasm/alpha2_audio_worklet.wasm +0 -0
  107. package/wasm/alpha2_extensions.d.ts +26 -47
  108. package/wasm/alpha2_extensions.js +26 -47
  109. package/wasm/alpha2_extensions_bg.wasm +0 -0
  110. package/wasm/alpha2_wasm.d.ts +460 -567
  111. package/wasm/alpha2_wasm.js +594 -594
  112. package/wasm/alpha2_wasm_bg.wasm +0 -0
  113. package/wasm/alpha2_wasm_bg.wasm.d.ts +15 -8
  114. package/wasm/rust-crate-licenses.md +2 -2
  115. package/wasm/snippets/{alpha2-wasm-c62e60c964e88a52 → alpha2-wasm-1313375d424845c0}/inline1.js +1 -0
  116. package/wasm/snippets/alpha2-wasm-1313375d424845c0/inline2.js +82 -0
  117. package/wasm/snippets/alpha2-wasm-c62e60c964e88a52/inline2.js +0 -52
  118. /package/wasm/snippets/{alpha2-wasm-c62e60c964e88a52 → alpha2-wasm-1313375d424845c0}/inline0.js +0 -0
  119. /package/wasm/snippets/{alpha2-wasm-c62e60c964e88a52 → alpha2-wasm-1313375d424845c0}/inline3.js +0 -0
package/dist/project.d.ts CHANGED
@@ -1,20 +1,13 @@
1
1
  /**
2
2
  * The alpha2 project document (schema version 1).
3
3
  *
4
- * The engine accepts this document as JSON through `loadProject`. Field names
5
- * are the wire names, so a value of type {@link Project} serializes directly
6
- * with `JSON.stringify`.
4
+ * Field names are the wire names, so a {@link Project} serializes directly with `JSON.stringify`.
5
+ * Types and limits are generated from `schema/project.v1.schema.json`; {@link validateProject}
6
+ * mirrors the model's invariants beyond the schema.
7
7
  *
8
- * The types and limits are generated from the Rust model's JSON Schema
9
- * (`schema/project.v1.schema.json`) into `generated/project-schema.ts`; this
10
- * module adds conversion helpers and {@link validateProject}. The schema fixes
11
- * the shape of a document, and `validateProject` mirrors the invariants the
12
- * model checks beyond it, pinned by the shared validation corpus.
13
- *
14
- * Timeline values are integer ticks at {@link TICKS_PER_SECOND}. Ranges are
15
- * half-open: `[start, end)`.
8
+ * Timeline values are integer ticks at {@link TICKS_PER_SECOND}. Ranges are half-open.
16
9
  */
17
- import type { Animated, Easing, FrameRate, Insets, Interpolation, LayoutOffset, LayoutSize, MediaTime, Paint, Project, Rgba, VisualProperties } from "./generated/project-schema.js";
10
+ import type { Animated, Easing, FrameRate, Insets, Interpolation, LayoutOffset, LayoutSize, MediaTime, Paint, Project, Rgba, TextContent, VisualProperties } from "./generated/project-schema.js";
18
11
  import { MAX_JSON_DEPTH } from "./json-text.js";
19
12
  export * from "./generated/project-schema.js";
20
13
  /** The deepest nesting of arrays and objects the engine reads in a project (serde_json's limit). */
@@ -26,19 +19,13 @@ export type CubicBezier = Omit<Extract<Easing, {
26
19
  readonly type: "cubic_bezier";
27
20
  }>, "type">;
28
21
  /**
29
- * A CSS `cubic-bezier(x1, y1, x2, y2)` timing curve, usable as a transition
30
- * {@link Easing} and as a keyframe {@link Interpolation}. `x1` and `x2` must
31
- * lie in `0..=1`; `y1` and `y2` may overshoot.
22
+ * A CSS `cubic-bezier` curve, usable as an {@link Easing} or {@link Interpolation}. `x1` and `x2`
23
+ * must lie in `0..=1`; `y1` and `y2` may overshoot.
32
24
  */
33
25
  export declare function cubicBezier(x1: number, y1: number, x2: number, y2: number): Extract<Easing, {
34
26
  readonly type: "cubic_bezier";
35
27
  }>;
36
- /**
37
- * The CSS Easing Functions Level 1 named curves.
38
- *
39
- * The engine knows only `linear` and `cubic_bezier`; these are the standard values of the latter,
40
- * so a curve an editor calls `ease-in-out` means what the web and motion tools mean by it.
41
- */
28
+ /** The CSS Easing Functions Level 1 named curves, as `cubic_bezier` values. */
42
29
  export declare const EASING_PRESETS: {
43
30
  readonly linear: {
44
31
  readonly type: "linear";
@@ -74,121 +61,86 @@ export declare const EASING_PRESETS: {
74
61
  };
75
62
  /** Keeps a keyframe's value until the next keyframe. */
76
63
  export declare const HOLD: Interpolation;
77
- /** Creates a constant animated value. */
78
64
  export declare function constant<T>(value: T): Animated<T>;
79
65
  /**
80
- * The tick nearest `seconds`, half a tick away from zero, as the engine reads a time in seconds.
81
- * Seconds rarely hold a tick exactly (1.001 s is just under tick 120120), so rounding is what gives
82
- * a time back its own tick: `secondsToTicks(ticksToSeconds(t)) === t`.
66
+ * The tick nearest `seconds`, ties away from zero, as the engine reads seconds. Rounding guarantees
67
+ * `secondsToTicks(ticksToSeconds(t)) === t`.
83
68
  */
84
69
  export declare function secondsToTicks(seconds: number): Ticks;
85
- /** Converts timeline ticks to seconds. */
86
70
  export declare function ticksToSeconds(ticks: Ticks): number;
87
- /**
88
- * The tick at or before project-rate sample `samples`, negative samples included, as the engine's
89
- * `sample_ticks_floor`.
90
- */
71
+ /** The tick at or before sample `samples`, matching the engine's `sample_ticks_floor`. */
91
72
  export declare function samplesToTicks(samples: number, sampleRate: number): Ticks;
92
73
  /** Converts timeline ticks to the sample index containing them. */
93
74
  export declare function ticksToSamples(ticks: Ticks, sampleRate: number): number;
94
75
  /**
95
- * Structural problems found without opening any media.
96
- *
97
- * This mirrors the checks the Rust model makes so an editor can reject a document before a round
98
- * trip through wasm. The engine re-validates on load; this exists to give the UI a message, not to
99
- * replace that check.
100
- *
101
- * It checks in the engine's two layers. First the document's shape against the generated project
102
- * schema: JSON types, required fields, known enum and tag values, and no unknown fields. A document
103
- * of the wrong shape reports only those problems, as the engine's parser stops there. Then the
104
- * model's invariants: value ranges, limits, references, ordering, and transitions. A document over
105
- * a count limit (tracks, clips, sources, compositions and their nodes, transitions, caption cues)
106
- * reports only its counts, as the engine refuses it before reading what they count; a video track
107
- * reports its first overlap no transition covers. Past the counts, the work is linear in the
108
- * document.
76
+ * Structural problems found without opening any media, mirroring the engine's checks so an editor
77
+ * can reject a document before loading it. The engine still re-validates on load.
109
78
  *
110
- * The argument is typed, but documents usually arrive from `JSON.parse`, so a missing or mistyped
111
- * field is reported as a problem rather than thrown. This function never throws, and returns an
112
- * empty array for a valid document.
79
+ * Shape problems (types, required fields, enum values, unknown fields) are reported alone, as the
80
+ * engine's parser stops there. A document over a count limit reports only its counts. Otherwise the
81
+ * model's invariants are checked in time linear in the document.
113
82
  *
114
- * An object cannot show how its JSON was spelled: a repeated key or an integer written `1920.0` is
115
- * invisible here and refused by the engine's parser. Check text with {@link validateProjectJson}.
83
+ * Never throws; returns an empty array for a valid document. JSON spelling (repeated keys, `1920.0`
84
+ * for an integer) is invisible to an object; use {@link validateProjectJson} for text.
116
85
  */
117
86
  export declare function validateProject(project: Project): string[];
118
87
  /**
119
- * Structural problems in a serialized document, including what only its text
120
- * shows.
121
- *
122
- * {@link validateProject} takes an object and therefore cannot see what the
123
- * engine checks in the text: `loadProject` rejects anything over
124
- * {@link MAX_PROJECT_JSON_BYTES} before it parses, and its parser refuses a
125
- * struct field given twice, an integer field spelled with a fraction or
126
- * exponent (`1920.0`, `1.92e3`, `-0`), and nesting deeper than 127 levels.
127
- * Hosts that hand the engine a string should validate the string, or a
128
- * document this package accepted can still be refused by the engine.
129
- *
130
- * Like {@link validateProject}, this never throws; malformed JSON is reported.
88
+ * Like {@link validateProject}, but also reports what only the text shows: size over
89
+ * {@link MAX_PROJECT_JSON_BYTES}, repeated fields, integers spelled with a fraction or exponent
90
+ * (`1920.0`, `1.92e3`, `-0`), and nesting deeper than 127 levels. Hosts that pass the engine a
91
+ * string should validate the string. Never throws; malformed JSON is reported.
131
92
  */
132
93
  export declare function validateProjectJson(json: string): string[];
133
94
  /**
134
- * Whether `rate` is a frame rate the engine reads: positive 32-bit integers
135
- * `num` and `den`, and a frame at least one tick long (at most
136
- * {@link TICKS_PER_SECOND} frames per second).
95
+ * Whether `rate` has positive 32-bit `num` and `den` and at most {@link TICKS_PER_SECOND} frames
96
+ * per second.
137
97
  */
138
98
  export declare function validFrameRate(rate: unknown): rate is FrameRate;
139
- /** A color as the engine writes it: the `{ red, green, blue, alpha }` object, never hex. */
99
+ /** A color as the engine writes it: the object form, never hex. */
140
100
  export type RgbaObject = Exclude<Rgba, string>;
141
101
  /** A paint as the engine writes it: tagged, its colors objects. */
142
102
  export type CanonicalPaint = CanonicalPart<Exclude<Paint, Rgba>>;
143
- /** Padding or margin sides as the engine writes them: all four, each a length. */
103
+ /** Padding or margin as the engine writes it, with all four sides. */
144
104
  export interface CanonicalInsets {
145
105
  readonly top: LayoutSize;
146
106
  readonly right: LayoutSize;
147
107
  readonly bottom: LayoutSize;
148
108
  readonly left: LayoutSize;
149
109
  }
150
- /** An offset (a layout node's `translate`) as the engine writes it: `{ x, y }`. */
110
+ /** A layout node's `translate` as the engine writes it. */
151
111
  export type CanonicalOffset = Exclude<LayoutOffset, string>;
152
112
  type Same<A, B> = [A] extends [B] ? ([B] extends [A] ? true : false) : false;
153
113
  /**
154
- * `T`, a part of a project document, in the forms the engine writes: each color an
155
- * {@link RgbaObject}, each paint a {@link CanonicalPaint}, each padding or margin
156
- * {@link CanonicalInsets}, each offset a {@link CanonicalOffset}. What {@link canonicalProject}
157
- * returns for a `Project`. Lengths and grid values keep the CSS spelling they were written in.
114
+ * `T` in the forms the engine writes, as {@link canonicalProject} returns them. Lengths and grid
115
+ * values keep their CSS spelling.
158
116
  */
159
117
  export type Canonical<T> = CanonicalValue<Exclude<T, null | undefined>> | Extract<T, null | undefined>;
160
118
  type CanonicalValue<T> = [T] extends [never] ? never : Same<T, Rgba> extends true ? RgbaObject : Same<T, Paint> extends true ? CanonicalPaint : Same<T, Insets> extends true ? CanonicalInsets : Same<T, LayoutOffset> extends true ? CanonicalOffset : Same<T, VisualProperties> extends true ? CanonicalPart<Required<VisualProperties>> : CanonicalPart<T>;
161
119
  type CanonicalPart<T> = T extends string | number | boolean | bigint ? T : {
162
120
  readonly [K in keyof T]: Canonical<T[K]>;
163
121
  };
164
- /** A project document in the forms the engine writes ({@link Canonical}). */
165
122
  export type CanonicalProject = Canonical<Project>;
123
+ /** The whole text of a caption cue or text generator, with runs joined. */
124
+ export declare function textOf(content: TextContent | Canonical<TextContent>): string;
166
125
  /**
167
- * `color` as the engine writes it: a CSS hex string becomes the components object, each
168
- * component the 32-bit value the engine reads, spelled shortest.
126
+ * Converts a CSS hex color to the object form, with 32-bit components spelled shortest.
169
127
  *
170
128
  * @throws A `TypeError` for a string that is not CSS hex.
171
129
  */
172
130
  export declare function canonicalRgba(color: Rgba): RgbaObject;
173
131
  /**
174
- * `paint` as the engine writes it: a color (hex or object) becomes a solid paint of it, and
175
- * every color in it the components object.
132
+ * Converts a paint to the tagged form the engine writes; a bare color becomes a solid paint.
176
133
  *
177
134
  * @throws A `TypeError` for a color string that is not CSS hex.
178
135
  */
179
136
  export declare function canonicalPaint(paint: Paint): CanonicalPaint;
180
137
  /**
181
- * `project` in the forms the engine writes it back ({@link Canonical}): every color the
182
- * components object, every paint tagged, every padding and margin the four sides, every offset
183
- * `{ x, y }`. The forms the engine reads but never writes (CSS hex, a color as a paint, the
184
- * sides shorthand, a `translate` string) are gone, so code that reads the document can take the
185
- * one form. A value it cannot read (a string that is not hex, say) stays as it is, for
186
- * {@link validateProject} to report: give it a document that validates to get a document in
187
- * canonical form.
138
+ * Returns `project` in the forms the engine writes ({@link Canonical}): object colors, tagged
139
+ * paints, four-side insets and `{ x, y }` offsets. Unreadable values are left for
140
+ * {@link validateProject} to report, so pass a valid document to get a fully canonical one.
188
141
  *
189
- * The input is not changed. A part that is already canonical comes back as the same object, so
190
- * a document in canonical form is returned itself, and a frozen part met before is not walked
191
- * again: run on a changed copy of a document read before, it costs the parts that changed.
142
+ * The input is not changed. Already-canonical parts are returned as the same objects, and frozen
143
+ * parts seen before are not walked again.
192
144
  */
193
145
  export declare function canonicalProject(project: Project): CanonicalProject;
194
146
  /** What a {@link LintIssue} is about. */
@@ -205,16 +157,28 @@ export type LintOwner = {
205
157
  readonly track: string;
206
158
  readonly index: number;
207
159
  }
208
- /** A composition's node, whose settings are keyed in composition time. */
160
+ /** Keyed in composition time. */
209
161
  | {
210
162
  readonly type: "composition_node";
211
163
  readonly composition: string;
212
164
  readonly node: string;
213
165
  }
214
- /** A generated source, whose shapes or layout tree is keyed in its picture's time. */
166
+ /** Keyed in the generated picture's time. */
215
167
  | {
216
168
  readonly type: "source";
217
169
  readonly source: string;
170
+ }
171
+ /** Animators are keyed in each cue's own time. */
172
+ | {
173
+ readonly type: "caption_track";
174
+ readonly track: string;
175
+ }
176
+ /** Times are from the cue's start. */
177
+ | {
178
+ readonly type: "cue_run";
179
+ readonly track: string;
180
+ readonly cue: number;
181
+ readonly run: number;
218
182
  };
219
183
  /** The shapes generator a shape {@link LintIssue} is about. */
220
184
  export type ShapeLintOwner = {
@@ -225,19 +189,13 @@ export type ShapeLintOwner = {
225
189
  readonly composition: string;
226
190
  readonly node: string;
227
191
  };
228
- /**
229
- * Something in a valid project that is probably not meant. Every check is conservative: a reported
230
- * issue is certain.
231
- */
192
+ /** Something in a valid project that is probably a mistake. Checks are conservative. */
232
193
  export type LintIssue =
233
194
  /** A keyframe no time its owner is shown at depends on. */
234
195
  {
235
196
  readonly kind: "unreached_keyframe";
236
197
  readonly owner: LintOwner;
237
- /**
238
- * Such as `visual.opacity` or `masks[0].feather` on a clip, `effect.params.radius` on a
239
- * composition node, or `items[0].transform.opacity` on a generated source.
240
- */
198
+ /** Such as `visual.opacity`, `effect.params.radius` or `items[0].transform.opacity`. */
241
199
  readonly property: string;
242
200
  readonly time: number;
243
201
  }
@@ -247,10 +205,7 @@ export type LintIssue =
247
205
  readonly clip: string;
248
206
  readonly by: string;
249
207
  }
250
- /**
251
- * A transition no frame shows between its two clips: shorter than a frame, or a frame long and
252
- * starting between frames.
253
- */
208
+ /** A transition no frame shows: shorter than a frame, or one frame long and off the grid. */
254
209
  | {
255
210
  readonly kind: "short_transition";
256
211
  readonly track: string;
@@ -264,10 +219,7 @@ export type LintIssue =
264
219
  readonly edge: "start" | "end";
265
220
  readonly time: number;
266
221
  }
267
- /**
268
- * A source no render reads: no clip shows it, and no `media` node of a composition a clip shows
269
- * reads it.
270
- */
222
+ /** A source no clip or reachable `media` node reads. */
271
223
  | {
272
224
  readonly kind: "unused_source";
273
225
  readonly source: string;
@@ -290,24 +242,28 @@ export type LintIssue =
290
242
  readonly owner: ShapeLintOwner;
291
243
  /** Such as `items[1].items[0]`. */
292
244
  readonly at: string;
245
+ }
246
+ /** A caption style no cue names and no cue's speaker matches. */
247
+ | {
248
+ readonly kind: "unused_caption_style";
249
+ readonly track: string;
250
+ readonly style: string;
251
+ }
252
+ /** A text animator that sets no property, which changes nothing. */
253
+ | {
254
+ readonly kind: "empty_text_animator";
255
+ readonly owner: LintOwner;
256
+ /** Such as `style.animators[0]`, or `root.children[1].text_animators[0]` in a layout. */
257
+ readonly at: string;
293
258
  };
294
- /** The part of `alpha2/wasm` {@link lintProject} uses. */
295
259
  export interface LintBinding {
296
260
  lintProject(projectJson: string): string;
297
261
  }
298
262
  /**
299
- * A valid project's non-fatal diagnostics, computed by the engine's own
300
- * `Project::lint`, in a fixed order: unused sources, then shapes generators
301
- * (sources', then composition nodes'), then HDR sources, then each track's
302
- * clips, transitions, and cues, then compositions' nodes, then generated
303
- * sources' trees. A keyframe is checked in its own time: a clip's in timeline
304
- * time, a composition node's in the composition time the clips that show it
305
- * map to, a generated source's in the picture time its clips' time maps reach.
306
- *
307
- * Diagnostics never block a load or an export; they flag what is probably a
308
- * mistake in a project the engine accepts.
263
+ * A valid project's non-fatal diagnostics from the engine's `Project::lint`, in a fixed order:
264
+ * unused sources, shapes generators, HDR sources, each track's clips, transitions and cues,
265
+ * composition nodes, then generated sources' trees. Diagnostics never block a load or export.
309
266
  *
310
- * @throws When the project does not load: the binding's error, as for
311
- * `loadProject`.
267
+ * @throws The binding's error when the project does not load, as for `loadProject`.
312
268
  */
313
269
  export declare function lintProject(binding: LintBinding, project: Project): LintIssue[];