@stripe/extensibility-script-build-tools 1.5.4

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 (63) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +180 -0
  3. package/dist/config-introspect.d.ts +17 -0
  4. package/dist/config-introspect.d.ts.map +1 -0
  5. package/dist/dispatch.d.ts +24 -0
  6. package/dist/dispatch.d.ts.map +1 -0
  7. package/dist/errors.d.ts +26 -0
  8. package/dist/errors.d.ts.map +1 -0
  9. package/dist/extensibility-script-build-tools-alpha.d.ts +19 -0
  10. package/dist/extensibility-script-build-tools-beta.d.ts +19 -0
  11. package/dist/extensibility-script-build-tools-internal.d.ts +93 -0
  12. package/dist/extensibility-script-build-tools-public.d.ts +19 -0
  13. package/dist/index.cjs +237827 -0
  14. package/dist/index.d.cts +89 -0
  15. package/dist/index.d.ts +89 -0
  16. package/dist/index.d.ts.map +1 -0
  17. package/dist/index.js +237820 -0
  18. package/dist/plugin.d.ts +41 -0
  19. package/dist/plugin.d.ts.map +1 -0
  20. package/dist/runtime-introspect.d.ts +24 -0
  21. package/dist/runtime-introspect.d.ts.map +1 -0
  22. package/dist/sdk-types/extensions/billing/bill/discount_calculation.d.ts +226 -0
  23. package/dist/sdk-types/extensions/billing/bill/discount_calculation.d.ts.map +1 -0
  24. package/dist/sdk-types/extensions/billing/bill/index.d.ts +2 -0
  25. package/dist/sdk-types/extensions/billing/bill/index.d.ts.map +1 -0
  26. package/dist/sdk-types/extensions/billing/customer_balance_application.d.ts +82 -0
  27. package/dist/sdk-types/extensions/billing/customer_balance_application.d.ts.map +1 -0
  28. package/dist/sdk-types/extensions/billing/index.d.ts +8 -0
  29. package/dist/sdk-types/extensions/billing/index.d.ts.map +1 -0
  30. package/dist/sdk-types/extensions/billing/invoice_collection_setting.d.ts +117 -0
  31. package/dist/sdk-types/extensions/billing/invoice_collection_setting.d.ts.map +1 -0
  32. package/dist/sdk-types/extensions/billing/prorations.d.ts +222 -0
  33. package/dist/sdk-types/extensions/billing/prorations.d.ts.map +1 -0
  34. package/dist/sdk-types/extensions/billing/recurring_billing_item_handling.d.ts +326 -0
  35. package/dist/sdk-types/extensions/billing/recurring_billing_item_handling.d.ts.map +1 -0
  36. package/dist/sdk-types/extensions/billing/types.d.ts +33 -0
  37. package/dist/sdk-types/extensions/billing/types.d.ts.map +1 -0
  38. package/dist/sdk-types/extensions/context.d.ts +9 -0
  39. package/dist/sdk-types/extensions/context.d.ts.map +1 -0
  40. package/dist/sdk-types/extensions/core/index.d.ts +3 -0
  41. package/dist/sdk-types/extensions/core/index.d.ts.map +1 -0
  42. package/dist/sdk-types/extensions/core/workflows/custom_action.d.ts +142 -0
  43. package/dist/sdk-types/extensions/core/workflows/custom_action.d.ts.map +1 -0
  44. package/dist/sdk-types/extensions/core/workflows/index.d.ts +2 -0
  45. package/dist/sdk-types/extensions/core/workflows/index.d.ts.map +1 -0
  46. package/dist/sdk-types/extensions/extend/index.d.ts +3 -0
  47. package/dist/sdk-types/extensions/extend/index.d.ts.map +1 -0
  48. package/dist/sdk-types/extensions/extend/workflows/custom_action.d.ts +142 -0
  49. package/dist/sdk-types/extensions/extend/workflows/custom_action.d.ts.map +1 -0
  50. package/dist/sdk-types/extensions/extend/workflows/index.d.ts +2 -0
  51. package/dist/sdk-types/extensions/extend/workflows/index.d.ts.map +1 -0
  52. package/dist/sdk-types/extensions/index.d.ts +9 -0
  53. package/dist/sdk-types/extensions/index.d.ts.map +1 -0
  54. package/dist/sdk-types/extensions/registry.d.ts +19 -0
  55. package/dist/sdk-types/extensions/registry.d.ts.map +1 -0
  56. package/dist/sdk-types/extensions/types.d.ts +10 -0
  57. package/dist/sdk-types/extensions/types.d.ts.map +1 -0
  58. package/dist/transform.d.ts +49 -0
  59. package/dist/transform.d.ts.map +1 -0
  60. package/dist/tsconfig.build.tsbuildinfo +1 -0
  61. package/dist/types.d.ts +40 -0
  62. package/dist/types.d.ts.map +1 -0
  63. package/package.json +57 -0
package/LICENSE.md ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (C) 2026 Stripe, Inc. (https://stripe.com)
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,180 @@
1
+ # @stripe/extensibility-script-build-tools
2
+
3
+ An esbuild plugin and dispatch shim for Stripe script extension entry points.
4
+
5
+ ## What it does
6
+
7
+ The plugin intercepts the extension entry point during bundling and appends a
8
+ `__stripe_platform_dispatch__` export — a table mapping the default-export class and each
9
+ extension method to a pre-built factory closure. At runtime, the dispatch shim reads the
10
+ table and calls through it: wire arguments go in, the factory converts them to SDK types,
11
+ instantiates the class, calls the method, converts the SDK result back to wire format, and
12
+ returns.
13
+
14
+ This approach means transformation happens exactly once, at the true entry point, and the
15
+ extension class itself is never modified. Methods can call each other freely.
16
+
17
+ The plugin also introspects the class's Config type argument and, if it's a user-defined
18
+ type, generates and appends a config descriptor function that the factory uses to validate
19
+ and coerce config values from wire JSON.
20
+
21
+ ## Usage
22
+
23
+ ### Pre-flight analysis
24
+
25
+ Before adding the plugin to a build, call `analyzeForDispatch` to check whether a full
26
+ dispatch shim can be built for the entry point:
27
+
28
+ ```typescript
29
+ import {
30
+ analyzeForDispatch,
31
+ createPlatformDispatchPlugin,
32
+ } from '@stripe/extensibility-script-build-tools';
33
+ import esbuild from 'esbuild';
34
+
35
+ const analysis = analyzeForDispatch('src/index.ts');
36
+
37
+ if (analysis !== null) {
38
+ // Full platform dispatch shim will be installed.
39
+ await esbuild.build({
40
+ entryPoints: ['src/index.ts'],
41
+ bundle: true,
42
+ plugins: [createPlatformDispatchPlugin(analysis)],
43
+ });
44
+ } else {
45
+ // No shim. Build normally and route calls without dispatch.
46
+ await esbuild.build({ entryPoints: ['src/index.ts'], bundle: true });
47
+ }
48
+ ```
49
+
50
+ `analyzeForDispatch` returns `null` when any condition is not met:
51
+
52
+ - The entry point has no named default export
53
+ - The export does not implement a recognised extension interface
54
+ - The installed SDK predates platform dispatch (no `$platformWrap*` factories)
55
+
56
+ For non-extension scripts and any other configuration that doesn't conform to the
57
+ extension framework, `null` is returned and the build proceeds without a shim.
58
+
59
+ ### Dispatch
60
+
61
+ After building the bundle, import it and call the `dispatch` method baked
62
+ directly into the table:
63
+
64
+ ```typescript
65
+ import { DISPATCH_TABLE_EXPORT } from '@stripe/extensibility-script-build-tools';
66
+
67
+ // mod is the dynamically-imported bundle
68
+ const table = mod[DISPATCH_TABLE_EXPORT] as
69
+ | {
70
+ dispatch: (
71
+ exportName: string,
72
+ methodName: string,
73
+ wireArgs: unknown,
74
+ wireConfig: unknown,
75
+ ctx: unknown
76
+ ) => unknown;
77
+ }
78
+ | undefined;
79
+
80
+ const result = table?.dispatch('default', 'computeDiscounts', wireArgs, wireConfig, ctx);
81
+ ```
82
+
83
+ `dispatch` is a closure embedded in the bundle by the plugin. Calling it does
84
+ not require importing any runtime helper from this package.
85
+
86
+ ## How the dispatch table works
87
+
88
+ The plugin appends a block like this to the extension source:
89
+
90
+ ```typescript
91
+ import * as __stripe_sdk_ext__ from '@stripe/apps-extensibility-sdk/extensions';
92
+ export const __stripe_platform_dispatch__ = (() => {
93
+ const e = {
94
+ default: {
95
+ __class__: MyExtensionClass,
96
+ computeDiscounts:
97
+ __stripe_sdk_ext__.Billing.Bill.DiscountCalculation.$platformWrapComputeDiscounts(
98
+ transformMyConfig
99
+ ),
100
+ },
101
+ };
102
+ return Object.assign(e, {
103
+ dispatch: (exportName, methodName, wireArgs, wireConfig, ctx) => {
104
+ const entry = e[exportName];
105
+ // ... error checks ...
106
+ return entry[methodName](entry.__class__, wireArgs, wireConfig, ctx);
107
+ },
108
+ });
109
+ })();
110
+ ```
111
+
112
+ - `__class__` is the default-export class constructor, used to instantiate a fresh object
113
+ per call.
114
+ - Each method entry is a closure `(cls, wireArgs, wireConfig, ctx) => wireResult` returned
115
+ by the `$platformWrap*` factory in the SDK. Config transformer is baked in if present.
116
+ - `dispatch(exportName, methodName, wireArgs, wireConfig, ctx)` is a stable one-shot
117
+ entry point that looks up the export and method from the closure-captured entries and
118
+ calls through. Callers do not need any runtime helper from this package to invoke it.
119
+
120
+ ## Code flow
121
+
122
+ ```
123
+ BUILD TIME
124
+ ──────────
125
+ entry.ts ──► analyzeForDispatch()
126
+
127
+ ├─ resolveExtension() ts-morph: reads implements clause,
128
+ │ looks up FQNs in BY_SDK_FQN registry
129
+
130
+ ├─ hasPlatformWrap() require() the SDK; check $platformWrap*
131
+ │ exists → true (else return null)
132
+
133
+ └─ returns DispatchAnalysis (opaque)
134
+
135
+ entry.ts ──► esbuild plugin (onLoad) — only if analysis is non-null
136
+
137
+ ├─ resolveConfigTransformer() analyse Config type arg; emit
138
+ │ descriptor function if user-defined
139
+
140
+ └─ append to source:
141
+ import * as __stripe_sdk_ext__ from '…/extensions';
142
+ export const __stripe_platform_dispatch__ = (() => {
143
+ const e = {
144
+ default: {
145
+ __class__: MyClass,
146
+ computeDiscounts:
147
+ __stripe_sdk_ext__.Billing.Bill
148
+ .DiscountCalculation
149
+ .$platformWrapComputeDiscounts(transformConfig),
150
+ }
151
+ };
152
+ return Object.assign(e, { dispatch: … });
153
+ })();
154
+
155
+ RUNTIME
156
+ ───────
157
+ platform ──► mod['__stripe_platform_dispatch__'].dispatch(
158
+ 'default', 'computeDiscounts', wireArgs, wireConfig, ctx)
159
+
160
+ └─ $platformWrapComputeDiscounts closure:
161
+ 1. apply(ArgsDescriptor, ProtoWireToType, wireArgs)
162
+ 2. transformConfig(wireConfig)
163
+ 3. new MyClass().computeDiscounts(request, config, ctx)
164
+ 4. apply(ResultDescriptor, TypeToProtoWire, result)
165
+ └─► wireResult
166
+ ```
167
+
168
+ ## Failure behaviour
169
+
170
+ - **`analyzeForDispatch` returns `null`.** Entry points without a named default export,
171
+ without a recognised interface, or pinned to a pre-dispatch SDK version all return
172
+ `null`. The caller builds without the plugin and records that calls should bypass
173
+ dispatch.
174
+
175
+ - **`BuildUserError` thrown by `analyzeForDispatch`.** The source contains a reserved
176
+ identifier (`__stripe_sdk_ext__`, `__stripe_platform_dispatch__`,
177
+ `__stripe_shim_active__`). The author must rename the colliding identifier.
178
+
179
+ - **`BuildSystemError` thrown by the plugin.** An unexpected error during config
180
+ transformer resolution. Wraps the original error.
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Generates a config transformer for the default-export class in `entryPoint`.
3
+ *
4
+ * Resolves the first Config type argument from the class's `implements` clause,
5
+ * analyzes its structure, and returns the generated TypeScript code plus the
6
+ * exported function name. Returns `null` if no parseable Config type is found.
7
+ *
8
+ * The returned `code` should be appended to the entry point source before
9
+ * bundling. The `functionName` is the identifier to pass as `configTransformer`
10
+ * in the `$platformWrap*` factory call.
11
+ * @internal
12
+ */
13
+ export declare function resolveConfigTransformer(entryPoint: string): {
14
+ code: string;
15
+ functionName: string;
16
+ } | null;
17
+ //# sourceMappingURL=config-introspect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-introspect.d.ts","sourceRoot":"","sources":["../src/config-introspect.ts"],"names":[],"mappings":"AA6BA;;;;;;;;;;;GAWG;AACH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CA6B/C"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Stable one-shot dispatch function baked into the table by the plugin.
3
+ * @internal
4
+ */
5
+ export type BuiltInDispatchFn = (exportName: string, methodName: string, wireArgs: unknown, wireConfig: unknown, ctx: unknown) => unknown;
6
+ /** @internal */
7
+ export interface DispatchTable {
8
+ dispatch: BuiltInDispatchFn;
9
+ }
10
+ /**
11
+ * Creates a platform dispatch invoker from a bundled extension module.
12
+ *
13
+ * Reads `mod['__stripe_platform_dispatch__'].dispatch` and returns a callable
14
+ * that forwards to it.
15
+ *
16
+ * Returns `null` only if the dispatch table export is entirely absent —
17
+ * meaning the module was not built with the platform dispatch plugin at all.
18
+ * When the plugin was used, the table is always present (even for entry points
19
+ * with no recognised extension interface), so callers can use `null` as an
20
+ * unambiguous "plugin not run" signal.
21
+ * @internal
22
+ */
23
+ export declare function _createPlatformDispatch(mod: Record<string, unknown>): ((exportName: string, methodName: string, wireArgs: unknown, wireConfig: unknown, ctx: unknown) => unknown) | null;
24
+ //# sourceMappingURL=dispatch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dispatch.d.ts","sourceRoot":"","sources":["../src/dispatch.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAC9B,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,OAAO,EACjB,UAAU,EAAE,OAAO,EACnB,GAAG,EAAE,OAAO,KACT,OAAO,CAAC;AAEb,gBAAgB;AAChB,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,iBAAiB,CAAC;CAC7B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAE1B,CAAC,CACC,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,OAAO,EACjB,UAAU,EAAE,OAAO,EACnB,GAAG,EAAE,OAAO,KACT,OAAO,CAAC,GACb,IAAI,CAQP"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Thrown when the user's extension source contains a problem that prevents
3
+ * the platform dispatch plugin from processing it. The message is directly
4
+ * actionable by the extension author.
5
+ * @internal
6
+ */
7
+ export declare class _BuildUserError extends Error {
8
+ /** Error class name, overridden for stack trace readability. */
9
+ name: string;
10
+ }
11
+ /**
12
+ * Wraps an unexpected error caught by the platform dispatch plugin. Indicates
13
+ * a bug in the plugin or an unanticipated environment condition, not a problem
14
+ * with the extension author's code.
15
+ * @internal
16
+ */
17
+ export declare class _BuildSystemError extends Error {
18
+ /** The original error that triggered this system error. */
19
+ readonly cause: unknown;
20
+ /** Error class name, overridden for stack trace readability. */
21
+ name: string;
22
+ constructor(message: string,
23
+ /** The original error that triggered this system error. */
24
+ cause: unknown);
25
+ }
26
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,qBAAa,eAAgB,SAAQ,KAAK;IACxC,gEAAgE;IACvD,IAAI,SAAqB;CACnC;AAED;;;;;GAKG;AACH,qBAAa,iBAAkB,SAAQ,KAAK;IAMxC,2DAA2D;IAC3D,QAAQ,CAAC,KAAK,EAAE,OAAO;IANzB,gEAAgE;IACvD,IAAI,SAAuB;gBAGlC,OAAO,EAAE,MAAM;IACf,2DAA2D;IAClD,KAAK,EAAE,OAAO;CAI1B"}
@@ -0,0 +1,19 @@
1
+ import * as esbuild from 'esbuild';
2
+
3
+ /* Excluded from this release type: _analyzeForDispatch */
4
+
5
+ declare const _brand: unique symbol;
6
+
7
+ /* Excluded from this release type: _BuildSystemError */
8
+
9
+ /* Excluded from this release type: _BuildUserError */
10
+
11
+ /* Excluded from this release type: _createPlatformDispatch */
12
+
13
+ /* Excluded from this release type: _createPlatformDispatchPlugin */
14
+
15
+ /* Excluded from this release type: _DISPATCH_TABLE_EXPORT */
16
+
17
+ /* Excluded from this release type: _DispatchAnalysis */
18
+
19
+ export { }
@@ -0,0 +1,19 @@
1
+ import * as esbuild from 'esbuild';
2
+
3
+ /* Excluded from this release type: _analyzeForDispatch */
4
+
5
+ declare const _brand: unique symbol;
6
+
7
+ /* Excluded from this release type: _BuildSystemError */
8
+
9
+ /* Excluded from this release type: _BuildUserError */
10
+
11
+ /* Excluded from this release type: _createPlatformDispatch */
12
+
13
+ /* Excluded from this release type: _createPlatformDispatchPlugin */
14
+
15
+ /* Excluded from this release type: _DISPATCH_TABLE_EXPORT */
16
+
17
+ /* Excluded from this release type: _DispatchAnalysis */
18
+
19
+ export { }
@@ -0,0 +1,93 @@
1
+ import * as esbuild from 'esbuild';
2
+
3
+ /**
4
+ * Analyzes the extension entry point to determine if a full platform dispatch
5
+ * shim can be built. Returns opaque analysis data when all conditions are met:
6
+ *
7
+ * - The entry point has a named default export
8
+ * - The export implements a recognised extension interface
9
+ * - The installed SDK version provides `$platformWrap*` factories
10
+ *
11
+ * Returns `null` if any condition is not met (old SDK, unrecognised interface,
12
+ * no named default export, or non-extension script). The caller should treat
13
+ * `null` as "build without the plugin".
14
+ *
15
+ * Throws `_BuildUserError` if a reserved identifier collision is detected in
16
+ * the source (only checked when a shim would otherwise be installed).
17
+ * @internal
18
+ */
19
+ export declare function _analyzeForDispatch(entryPoint: string): _DispatchAnalysis | null;
20
+
21
+ declare const _brand: unique symbol;
22
+
23
+ /**
24
+ * Wraps an unexpected error caught by the platform dispatch plugin. Indicates
25
+ * a bug in the plugin or an unanticipated environment condition, not a problem
26
+ * with the extension author's code.
27
+ * @internal
28
+ */
29
+ export declare class _BuildSystemError extends Error {
30
+ /** The original error that triggered this system error. */
31
+ readonly cause: unknown;
32
+ /** Error class name, overridden for stack trace readability. */
33
+ name: string;
34
+ constructor(message: string,
35
+ /** The original error that triggered this system error. */
36
+ cause: unknown);
37
+ }
38
+
39
+ /**
40
+ * Thrown when the user's extension source contains a problem that prevents
41
+ * the platform dispatch plugin from processing it. The message is directly
42
+ * actionable by the extension author.
43
+ * @internal
44
+ */
45
+ export declare class _BuildUserError extends Error {
46
+ /** Error class name, overridden for stack trace readability. */
47
+ name: string;
48
+ }
49
+
50
+ /**
51
+ * Creates a platform dispatch invoker from a bundled extension module.
52
+ *
53
+ * Reads `mod['__stripe_platform_dispatch__'].dispatch` and returns a callable
54
+ * that forwards to it.
55
+ *
56
+ * Returns `null` only if the dispatch table export is entirely absent —
57
+ * meaning the module was not built with the platform dispatch plugin at all.
58
+ * When the plugin was used, the table is always present (even for entry points
59
+ * with no recognised extension interface), so callers can use `null` as an
60
+ * unambiguous "plugin not run" signal.
61
+ * @internal
62
+ */
63
+ export declare function _createPlatformDispatch(mod: Record<string, unknown>): ((exportName: string, methodName: string, wireArgs: unknown, wireConfig: unknown, ctx: unknown) => unknown) | null;
64
+
65
+ /**
66
+ * Creates an esbuild plugin that appends a proxy dispatch table export
67
+ * (`__stripe_platform_dispatch__`) to the extension entry point.
68
+ *
69
+ * Requires pre-computed analysis from `_analyzeForDispatch`. The plugin uses
70
+ * the cached source and descriptor data directly, avoiding redundant file
71
+ * reads and SDK introspection during the build.
72
+ * @internal
73
+ */
74
+ export declare function _createPlatformDispatchPlugin(analysis: _DispatchAnalysis): esbuild.Plugin;
75
+
76
+ /**
77
+ * Name of the dispatch table export injected by the platform dispatch plugin.
78
+ * @internal
79
+ */
80
+ export declare const _DISPATCH_TABLE_EXPORT = "__stripe_platform_dispatch__";
81
+
82
+ /**
83
+ * Pre-computed analysis result from `_analyzeForDispatch`. Treat as opaque —
84
+ * pass directly to `_createPlatformDispatchPlugin` without inspecting or
85
+ * constructing.
86
+ * @internal
87
+ */
88
+ export declare interface _DispatchAnalysis {
89
+ /** Nominal brand that prevents construction outside this module. */
90
+ readonly [_brand]: never;
91
+ }
92
+
93
+ export { }
@@ -0,0 +1,19 @@
1
+ import * as esbuild from 'esbuild';
2
+
3
+ /* Excluded from this release type: _analyzeForDispatch */
4
+
5
+ declare const _brand: unique symbol;
6
+
7
+ /* Excluded from this release type: _BuildSystemError */
8
+
9
+ /* Excluded from this release type: _BuildUserError */
10
+
11
+ /* Excluded from this release type: _createPlatformDispatch */
12
+
13
+ /* Excluded from this release type: _createPlatformDispatchPlugin */
14
+
15
+ /* Excluded from this release type: _DISPATCH_TABLE_EXPORT */
16
+
17
+ /* Excluded from this release type: _DispatchAnalysis */
18
+
19
+ export { }