@savvy-web/github-action-builder 1.1.2 → 2.0.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.
package/index.d.ts CHANGED
@@ -16,15 +16,13 @@ import { Context, Effect, Layer, Schema } from "effect";
16
16
  */
17
17
  declare const EntriesSchema: Schema.Struct<{
18
18
  /** Path to the main action entry point. Defaults to "src/main.ts". */
19
- main: Schema.optionalWith<typeof Schema.String, {
20
- default: () => string;
21
- }>;
19
+ readonly main: Schema.withDecodingDefaultType<Schema.String, never>;
22
20
  /** Path to the pre-action hook entry point. */
23
- pre: Schema.optional<typeof Schema.String>;
21
+ readonly pre: Schema.optional<Schema.String>;
24
22
  /** Path to the post-action hook entry point. */
25
- post: Schema.optional<typeof Schema.String>;
23
+ readonly post: Schema.optional<Schema.String>;
26
24
  /** Extra non-lifecycle worker bundles (name -\> source path), each emitted as dist/\{name\}.js. */
27
- workers: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.String>>;
25
+ readonly workers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
28
26
  }>;
29
27
  /**
30
28
  * Entry point paths configuration.
@@ -43,21 +41,13 @@ type Entries = typeof EntriesSchema.Type;
43
41
  */
44
42
  declare const BuildOptionsSchema: Schema.Struct<{
45
43
  /** Enable minification to reduce bundle size. Defaults to true. */
46
- minify: Schema.optionalWith<typeof Schema.Boolean, {
47
- default: () => true;
48
- }>;
44
+ readonly minify: Schema.withDecodingDefaultType<Schema.Boolean, never>;
49
45
  /** Generate source maps for debugging. Defaults to false. */
50
- sourceMap: Schema.optionalWith<typeof Schema.Boolean, {
51
- default: () => false;
52
- }>;
46
+ readonly sourceMap: Schema.withDecodingDefaultType<Schema.Boolean, never>;
53
47
  /** Packages to exclude from the bundle (in addition to node: builtins). Defaults to []. */
54
- externals: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
55
- default: () => never[];
56
- }>;
48
+ readonly externals: Schema.withDecodingDefaultType<Schema.$Array<Schema.String>, never>;
57
49
  /** Packages to exclude from the bundle and replace with a stub that throws if loaded at runtime. Use for optional transitive dependencies the action never exercises (e.g. native modules). Defaults to []. */
58
- ignore: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
59
- default: () => never[];
60
- }>;
50
+ readonly ignore: Schema.withDecodingDefaultType<Schema.$Array<Schema.String>, never>;
61
51
  /**
62
52
  * Packages whose dynamic `import(...)` calls must stay native `import()` at runtime instead of
63
53
  * being compiled into an rspack context module. Use this for packages that resolve a module path
@@ -67,9 +57,7 @@ declare const BuildOptionsSchema: Schema.Struct<{
67
57
  * the package here injects a `webpackIgnore` comment into its dynamic imports so rspack leaves
68
58
  * them alone. Defaults to [].
69
59
  */
70
- nativeDynamicImports: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
71
- default: () => never[];
72
- }>;
60
+ readonly nativeDynamicImports: Schema.withDecodingDefaultType<Schema.$Array<Schema.String>, never>;
73
61
  }>;
74
62
  /**
75
63
  * Build options for the bundler.
@@ -88,13 +76,11 @@ type BuildOptions = typeof BuildOptionsSchema.Type;
88
76
  */
89
77
  declare const ValidationOptionsSchema: Schema.Struct<{
90
78
  /** Require action.yml to exist and be valid. Defaults to true. */
91
- requireActionYml: Schema.optionalWith<typeof Schema.Boolean, {
92
- default: () => true;
93
- }>;
79
+ readonly requireActionYml: Schema.withDecodingDefaultType<Schema.Boolean, never>;
94
80
  /** Maximum bundle size before warning/error (e.g., "5mb", "500kb"). */
95
- maxBundleSize: Schema.optional<typeof Schema.String>;
81
+ readonly maxBundleSize: Schema.optional<Schema.String>;
96
82
  /** Treat warnings as errors. Auto-detects from CI when undefined. */
97
- strict: Schema.optional<typeof Schema.Boolean>;
83
+ readonly strict: Schema.optional<Schema.Boolean>;
98
84
  }>;
99
85
  /**
100
86
  * Validation options for the build process.
@@ -113,17 +99,11 @@ type ValidationOptions = typeof ValidationOptionsSchema.Type;
113
99
  */
114
100
  declare const PersistLocalOptionsSchema: Schema.Struct<{
115
101
  /** Enable persisting build output locally. Defaults to true. */
116
- enabled: Schema.optionalWith<typeof Schema.Boolean, {
117
- default: () => true;
118
- }>;
102
+ readonly enabled: Schema.withDecodingDefaultType<Schema.Boolean, never>;
119
103
  /** Path for the local action directory, relative to cwd. Defaults to ".github/actions/local". */
120
- path: Schema.optionalWith<typeof Schema.String, {
121
- default: () => string;
122
- }>;
104
+ readonly path: Schema.withDecodingDefaultType<Schema.String, never>;
123
105
  /** Generate act boilerplate files (.actrc, act-test.yml) if they don't exist. Defaults to true. */
124
- actTemplate: Schema.optionalWith<typeof Schema.Boolean, {
125
- default: () => true;
126
- }>;
106
+ readonly actTemplate: Schema.withDecodingDefaultType<Schema.Boolean, never>;
127
107
  }>;
128
108
  /**
129
109
  * Persist-local options for copying build output.
@@ -141,28 +121,28 @@ type PersistLocalOptions = typeof PersistLocalOptionsSchema.Type;
141
121
  * @public
142
122
  */
143
123
  declare const ConfigInputSchema: Schema.Struct<{
144
- entries: Schema.optional<Schema.Struct<{
145
- main: Schema.optional<typeof Schema.String>;
146
- pre: Schema.optional<typeof Schema.String>;
147
- post: Schema.optional<typeof Schema.String>;
148
- workers: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.String>>;
124
+ readonly entries: Schema.optional<Schema.Struct<{
125
+ readonly main: Schema.optional<Schema.String>;
126
+ readonly pre: Schema.optional<Schema.String>;
127
+ readonly post: Schema.optional<Schema.String>;
128
+ readonly workers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
149
129
  }>>;
150
- build: Schema.optional<Schema.Struct<{
151
- minify: Schema.optional<typeof Schema.Boolean>;
152
- sourceMap: Schema.optional<typeof Schema.Boolean>;
153
- externals: Schema.optional<Schema.Array$<typeof Schema.String>>;
154
- ignore: Schema.optional<Schema.Array$<typeof Schema.String>>;
155
- nativeDynamicImports: Schema.optional<Schema.Array$<typeof Schema.String>>;
130
+ readonly build: Schema.optional<Schema.Struct<{
131
+ readonly minify: Schema.optional<Schema.Boolean>;
132
+ readonly sourceMap: Schema.optional<Schema.Boolean>;
133
+ readonly externals: Schema.optional<Schema.$Array<Schema.String>>;
134
+ readonly ignore: Schema.optional<Schema.$Array<Schema.String>>;
135
+ readonly nativeDynamicImports: Schema.optional<Schema.$Array<Schema.String>>;
156
136
  }>>;
157
- validation: Schema.optional<Schema.Struct<{
158
- requireActionYml: Schema.optional<typeof Schema.Boolean>;
159
- maxBundleSize: Schema.optional<typeof Schema.String>;
160
- strict: Schema.optional<typeof Schema.Boolean>;
137
+ readonly validation: Schema.optional<Schema.Struct<{
138
+ readonly requireActionYml: Schema.optional<Schema.Boolean>;
139
+ readonly maxBundleSize: Schema.optional<Schema.String>;
140
+ readonly strict: Schema.optional<Schema.Boolean>;
161
141
  }>>;
162
- persistLocal: Schema.optional<Schema.Struct<{
163
- enabled: Schema.optional<typeof Schema.Boolean>;
164
- path: Schema.optional<typeof Schema.String>;
165
- actTemplate: Schema.optional<typeof Schema.Boolean>;
142
+ readonly persistLocal: Schema.optional<Schema.Struct<{
143
+ readonly enabled: Schema.optional<Schema.Boolean>;
144
+ readonly path: Schema.optional<Schema.String>;
145
+ readonly actTemplate: Schema.optional<Schema.Boolean>;
166
146
  }>>;
167
147
  }>;
168
148
  /**
@@ -181,35 +161,25 @@ type ConfigInput = typeof ConfigInputSchema.Type;
181
161
  * @public
182
162
  */
183
163
  declare const ConfigSchema: Schema.Struct<{
184
- entries: Schema.Struct<{
164
+ readonly entries: Schema.Struct<{
185
165
  /** Path to the main action entry point. Defaults to "src/main.ts". */
186
- main: Schema.optionalWith<typeof Schema.String, {
187
- default: () => string;
188
- }>;
166
+ readonly main: Schema.withDecodingDefaultType<Schema.String, never>;
189
167
  /** Path to the pre-action hook entry point. */
190
- pre: Schema.optional<typeof Schema.String>;
168
+ readonly pre: Schema.optional<Schema.String>;
191
169
  /** Path to the post-action hook entry point. */
192
- post: Schema.optional<typeof Schema.String>;
170
+ readonly post: Schema.optional<Schema.String>;
193
171
  /** Extra non-lifecycle worker bundles (name -\> source path), each emitted as dist/\{name\}.js. */
194
- workers: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.String>>;
172
+ readonly workers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
195
173
  }>;
196
- build: Schema.Struct<{
174
+ readonly build: Schema.Struct<{
197
175
  /** Enable minification to reduce bundle size. Defaults to true. */
198
- minify: Schema.optionalWith<typeof Schema.Boolean, {
199
- default: () => true;
200
- }>;
176
+ readonly minify: Schema.withDecodingDefaultType<Schema.Boolean, never>;
201
177
  /** Generate source maps for debugging. Defaults to false. */
202
- sourceMap: Schema.optionalWith<typeof Schema.Boolean, {
203
- default: () => false;
204
- }>;
178
+ readonly sourceMap: Schema.withDecodingDefaultType<Schema.Boolean, never>;
205
179
  /** Packages to exclude from the bundle (in addition to node: builtins). Defaults to []. */
206
- externals: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
207
- default: () => never[];
208
- }>;
180
+ readonly externals: Schema.withDecodingDefaultType<Schema.$Array<Schema.String>, never>;
209
181
  /** Packages to exclude from the bundle and replace with a stub that throws if loaded at runtime. Use for optional transitive dependencies the action never exercises (e.g. native modules). Defaults to []. */
210
- ignore: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
211
- default: () => never[];
212
- }>;
182
+ readonly ignore: Schema.withDecodingDefaultType<Schema.$Array<Schema.String>, never>;
213
183
  /**
214
184
  * Packages whose dynamic `import(...)` calls must stay native `import()` at runtime instead of
215
185
  * being compiled into an rspack context module. Use this for packages that resolve a module path
@@ -219,33 +189,23 @@ declare const ConfigSchema: Schema.Struct<{
219
189
  * the package here injects a `webpackIgnore` comment into its dynamic imports so rspack leaves
220
190
  * them alone. Defaults to [].
221
191
  */
222
- nativeDynamicImports: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
223
- default: () => never[];
224
- }>;
192
+ readonly nativeDynamicImports: Schema.withDecodingDefaultType<Schema.$Array<Schema.String>, never>;
225
193
  }>;
226
- validation: Schema.Struct<{
194
+ readonly validation: Schema.Struct<{
227
195
  /** Require action.yml to exist and be valid. Defaults to true. */
228
- requireActionYml: Schema.optionalWith<typeof Schema.Boolean, {
229
- default: () => true;
230
- }>;
196
+ readonly requireActionYml: Schema.withDecodingDefaultType<Schema.Boolean, never>;
231
197
  /** Maximum bundle size before warning/error (e.g., "5mb", "500kb"). */
232
- maxBundleSize: Schema.optional<typeof Schema.String>;
198
+ readonly maxBundleSize: Schema.optional<Schema.String>;
233
199
  /** Treat warnings as errors. Auto-detects from CI when undefined. */
234
- strict: Schema.optional<typeof Schema.Boolean>;
200
+ readonly strict: Schema.optional<Schema.Boolean>;
235
201
  }>;
236
- persistLocal: Schema.Struct<{
202
+ readonly persistLocal: Schema.Struct<{
237
203
  /** Enable persisting build output locally. Defaults to true. */
238
- enabled: Schema.optionalWith<typeof Schema.Boolean, {
239
- default: () => true;
240
- }>;
204
+ readonly enabled: Schema.withDecodingDefaultType<Schema.Boolean, never>;
241
205
  /** Path for the local action directory, relative to cwd. Defaults to ".github/actions/local". */
242
- path: Schema.optionalWith<typeof Schema.String, {
243
- default: () => string;
244
- }>;
206
+ readonly path: Schema.withDecodingDefaultType<Schema.String, never>;
245
207
  /** Generate act boilerplate files (.actrc, act-test.yml) if they don't exist. Defaults to true. */
246
- actTemplate: Schema.optionalWith<typeof Schema.Boolean, {
247
- default: () => true;
248
- }>;
208
+ readonly actTemplate: Schema.withDecodingDefaultType<Schema.Boolean, never>;
249
209
  }>;
250
210
  }>;
251
211
  /**
@@ -842,9 +802,9 @@ type AppError = ConfigError | ValidationError | BuildError | PersistError;
842
802
  */
843
803
  declare const LoadConfigOptionsSchema: Schema.Struct<{
844
804
  /** Working directory to search for config. Accepts string, Buffer, or URL. */
845
- cwd: Schema.optional<Schema.transform<Schema.Union<[typeof Schema.String, Schema.instanceOf<Buffer<ArrayBufferLike>>, Schema.instanceOf<URL>]>, typeof Schema.String>>;
805
+ readonly cwd: Schema.optional<Schema.decodeTo<Schema.String, Schema.Union<readonly [Schema.String, Schema.instanceOf<Buffer<ArrayBufferLike>, unknown>, Schema.instanceOf<URL, unknown>]>, never, never>>;
846
806
  /** Explicit path to config file. Accepts string, Buffer, or URL. */
847
- configPath: Schema.optional<Schema.transform<Schema.Union<[typeof Schema.String, Schema.instanceOf<Buffer<ArrayBufferLike>>, Schema.instanceOf<URL>]>, typeof Schema.String>>;
807
+ readonly configPath: Schema.optional<Schema.decodeTo<Schema.String, Schema.Union<readonly [Schema.String, Schema.instanceOf<Buffer<ArrayBufferLike>, unknown>, Schema.instanceOf<URL, unknown>]>, never, never>>;
848
808
  }>;
849
809
  /**
850
810
  * Options for loading configuration.
@@ -857,11 +817,11 @@ type LoadConfigOptions = typeof LoadConfigOptionsSchema.Type;
857
817
  */
858
818
  declare const DetectedEntrySchema: Schema.Struct<{
859
819
  /** Entry type: "main"|"pre"|"post" for lifecycle entries, or the worker name. */
860
- type: typeof Schema.String;
820
+ readonly type: Schema.String;
861
821
  /** Absolute path to the entry file. */
862
- path: typeof Schema.String;
822
+ readonly path: Schema.String;
863
823
  /** Output path for the bundled file. */
864
- output: typeof Schema.String;
824
+ readonly output: Schema.String;
865
825
  }>;
866
826
  /**
867
827
  * Detected entry point information.
@@ -874,15 +834,15 @@ type DetectedEntry = typeof DetectedEntrySchema.Type;
874
834
  */
875
835
  declare const DetectEntriesResultSchema: Schema.Struct<{
876
836
  /** Whether detection was successful. */
877
- success: typeof Schema.Boolean;
837
+ readonly success: Schema.Boolean;
878
838
  /** Detected entries. */
879
- entries: Schema.Array$<Schema.Struct<{
839
+ readonly entries: Schema.$Array<Schema.Struct<{
880
840
  /** Entry type: "main"|"pre"|"post" for lifecycle entries, or the worker name. */
881
- type: typeof Schema.String;
841
+ readonly type: Schema.String;
882
842
  /** Absolute path to the entry file. */
883
- path: typeof Schema.String;
843
+ readonly path: Schema.String;
884
844
  /** Output path for the bundled file. */
885
- output: typeof Schema.String;
845
+ readonly output: Schema.String;
886
846
  }>>;
887
847
  }>;
888
848
  /**
@@ -903,7 +863,7 @@ interface LoadConfigResult {
903
863
  usingDefaults: boolean;
904
864
  }
905
865
  /**
906
- * ConfigService interface for configuration management capabilities.
866
+ * Service shape for configuration management capabilities.
907
867
  *
908
868
  * @remarks
909
869
  * This service handles:
@@ -911,23 +871,12 @@ interface LoadConfigResult {
911
871
  * - Resolving partial configuration with defaults
912
872
  * - Detecting entry points in the project
913
873
  *
914
- * @example Using ConfigService with Effect
915
- * ```typescript
916
- * import { Effect } from "effect";
917
- * import { AppLayer, ConfigService } from "@savvy-web/github-action-builder";
918
- *
919
- * const program = Effect.gen(function* () {
920
- * const configService = yield* ConfigService;
921
- * const result = yield* configService.load({ cwd: process.cwd() });
922
- * console.log("Loaded config:", result.config);
923
- * });
924
- *
925
- * Effect.runPromise(program.pipe(Effect.provide(AppLayer)));
926
- * ```
874
+ * Use this interface to type structural implementations (e.g. test mocks);
875
+ * use the {@link ConfigService} class as the service key.
927
876
  *
928
877
  * @public
929
878
  */
930
- interface ConfigService {
879
+ interface ConfigServiceShape {
931
880
  /**
932
881
  * Load configuration from file or use defaults.
933
882
  *
@@ -956,12 +905,27 @@ interface ConfigService {
956
905
  workers?: Record<string, string>;
957
906
  }) => Effect.Effect<DetectEntriesResult, MainEntryMissing | WorkerEntryMissing | WorkerEntryInvalidName>;
958
907
  }
908
+ declare const ConfigService_base: Context.ServiceClass<ConfigService, "ConfigService", ConfigServiceShape>;
959
909
  /**
960
- * ConfigService tag for dependency injection.
910
+ * ConfigService key for dependency injection.
911
+ *
912
+ * @example Using ConfigService with Effect
913
+ * ```typescript
914
+ * import { Effect } from "effect";
915
+ * import { AppLayer, ConfigService } from "@savvy-web/github-action-builder";
916
+ *
917
+ * const program = Effect.gen(function* () {
918
+ * const configService = yield* ConfigService;
919
+ * const result = yield* configService.load({ cwd: process.cwd() });
920
+ * console.log("Loaded config:", result.config);
921
+ * });
922
+ *
923
+ * Effect.runPromise(program.pipe(Effect.provide(AppLayer)));
924
+ * ```
961
925
  *
962
926
  * @public
963
927
  */
964
- declare const ConfigService: Context.Tag<ConfigService, ConfigService>;
928
+ declare class ConfigService extends ConfigService_base {}
965
929
  //#endregion
966
930
  //#region src/services/build.d.ts
967
931
  /**
@@ -970,9 +934,9 @@ declare const ConfigService: Context.Tag<ConfigService, ConfigService>;
970
934
  */
971
935
  declare const BuildRunnerOptionsSchema: Schema.Struct<{
972
936
  /** Working directory for the build. Accepts string, Buffer, or URL. */
973
- cwd: Schema.optional<Schema.transform<Schema.Union<[typeof Schema.String, Schema.instanceOf<Buffer<ArrayBufferLike>>, Schema.instanceOf<URL>]>, typeof Schema.String>>;
937
+ readonly cwd: Schema.optional<Schema.decodeTo<Schema.String, Schema.Union<readonly [Schema.String, Schema.instanceOf<Buffer<ArrayBufferLike>, unknown>, Schema.instanceOf<URL, unknown>]>, never, never>>;
974
938
  /** Clean output directory before building. Defaults to true. */
975
- clean: Schema.optional<typeof Schema.Boolean>;
939
+ readonly clean: Schema.optional<Schema.Boolean>;
976
940
  }>;
977
941
  /**
978
942
  * Options for the build process.
@@ -985,13 +949,13 @@ type BuildRunnerOptions = typeof BuildRunnerOptionsSchema.Type;
985
949
  */
986
950
  declare const BundleStatsSchema: Schema.Struct<{
987
951
  /** Entry type (main, pre, or post). */
988
- entry: typeof Schema.String;
952
+ readonly entry: Schema.String;
989
953
  /** Bundle size in bytes. */
990
- size: typeof Schema.Number;
954
+ readonly size: Schema.Number;
991
955
  /** Build duration in milliseconds. */
992
- duration: typeof Schema.Number;
956
+ readonly duration: Schema.Number;
993
957
  /** Output path relative to working directory. */
994
- outputPath: typeof Schema.String;
958
+ readonly outputPath: Schema.String;
995
959
  }>;
996
960
  /**
997
961
  * Statistics for a single bundled entry.
@@ -1004,20 +968,20 @@ type BundleStats = typeof BundleStatsSchema.Type;
1004
968
  */
1005
969
  declare const BundleResultSchema: Schema.Struct<{
1006
970
  /** Whether bundling succeeded. */
1007
- success: typeof Schema.Boolean;
971
+ readonly success: Schema.Boolean;
1008
972
  /** Bundle statistics if successful. */
1009
- stats: Schema.optional<Schema.Struct<{
973
+ readonly stats: Schema.optional<Schema.Struct<{
1010
974
  /** Entry type (main, pre, or post). */
1011
- entry: typeof Schema.String;
975
+ readonly entry: Schema.String;
1012
976
  /** Bundle size in bytes. */
1013
- size: typeof Schema.Number;
977
+ readonly size: Schema.Number;
1014
978
  /** Build duration in milliseconds. */
1015
- duration: typeof Schema.Number;
979
+ readonly duration: Schema.Number;
1016
980
  /** Output path relative to working directory. */
1017
- outputPath: typeof Schema.String;
981
+ readonly outputPath: Schema.String;
1018
982
  }>>;
1019
983
  /** Error message if failed. */
1020
- error: Schema.optional<typeof Schema.String>;
984
+ readonly error: Schema.optional<Schema.String>;
1021
985
  }>;
1022
986
  /**
1023
987
  * Result of bundling a single entry.
@@ -1030,29 +994,29 @@ type BundleResult = typeof BundleResultSchema.Type;
1030
994
  */
1031
995
  declare const BuildResultSchema: Schema.Struct<{
1032
996
  /** Whether the overall build succeeded. */
1033
- success: typeof Schema.Boolean;
997
+ readonly success: Schema.Boolean;
1034
998
  /** Results for each entry that was built. */
1035
- entries: Schema.Array$<Schema.Struct<{
999
+ readonly entries: Schema.$Array<Schema.Struct<{
1036
1000
  /** Whether bundling succeeded. */
1037
- success: typeof Schema.Boolean;
1001
+ readonly success: Schema.Boolean;
1038
1002
  /** Bundle statistics if successful. */
1039
- stats: Schema.optional<Schema.Struct<{
1003
+ readonly stats: Schema.optional<Schema.Struct<{
1040
1004
  /** Entry type (main, pre, or post). */
1041
- entry: typeof Schema.String;
1005
+ readonly entry: Schema.String;
1042
1006
  /** Bundle size in bytes. */
1043
- size: typeof Schema.Number;
1007
+ readonly size: Schema.Number;
1044
1008
  /** Build duration in milliseconds. */
1045
- duration: typeof Schema.Number;
1009
+ readonly duration: Schema.Number;
1046
1010
  /** Output path relative to working directory. */
1047
- outputPath: typeof Schema.String;
1011
+ readonly outputPath: Schema.String;
1048
1012
  }>>;
1049
1013
  /** Error message if failed. */
1050
- error: Schema.optional<typeof Schema.String>;
1014
+ readonly error: Schema.optional<Schema.String>;
1051
1015
  }>>;
1052
1016
  /** Total build duration in milliseconds. */
1053
- duration: typeof Schema.Number;
1017
+ readonly duration: Schema.Number;
1054
1018
  /** Error message if build failed. */
1055
- error: Schema.optional<typeof Schema.String>;
1019
+ readonly error: Schema.optional<Schema.String>;
1056
1020
  }>;
1057
1021
  /**
1058
1022
  * Result of the complete build process.
@@ -1060,7 +1024,7 @@ declare const BuildResultSchema: Schema.Struct<{
1060
1024
  */
1061
1025
  type BuildResult = typeof BuildResultSchema.Type;
1062
1026
  /**
1063
- * BuildService interface for build and bundling capabilities.
1027
+ * Service shape for build and bundling capabilities.
1064
1028
  *
1065
1029
  * @remarks
1066
1030
  * This service handles:
@@ -1069,29 +1033,12 @@ type BuildResult = typeof BuildResultSchema.Type;
1069
1033
  * - Collecting build statistics
1070
1034
  * - Formatting build results
1071
1035
  *
1072
- * @example Using BuildService with Effect
1073
- * ```typescript
1074
- * import { Effect } from "effect";
1075
- * import { AppLayer, BuildService, ConfigService } from "@savvy-web/github-action-builder";
1076
- *
1077
- * const program = Effect.gen(function* () {
1078
- * const configService = yield* ConfigService;
1079
- * const buildService = yield* BuildService;
1080
- *
1081
- * const { config } = yield* configService.load();
1082
- * const result = yield* buildService.build(config);
1083
- *
1084
- * if (result.success) {
1085
- * console.log("Build complete:", result.entries.length, "entries");
1086
- * }
1087
- * });
1088
- *
1089
- * Effect.runPromise(program.pipe(Effect.provide(AppLayer)));
1090
- * ```
1036
+ * Use this interface to type structural implementations (e.g. test mocks);
1037
+ * use the {@link BuildService} class as the service key.
1091
1038
  *
1092
1039
  * @public
1093
1040
  */
1094
- interface BuildService {
1041
+ interface BuildServiceShape {
1095
1042
  /**
1096
1043
  * Build all entries from the configuration.
1097
1044
  *
@@ -1130,12 +1077,33 @@ interface BuildService {
1130
1077
  */
1131
1078
  readonly formatBytes: (bytes: number) => string;
1132
1079
  }
1080
+ declare const BuildService_base: Context.ServiceClass<BuildService, "BuildService", BuildServiceShape>;
1133
1081
  /**
1134
- * BuildService tag for dependency injection.
1082
+ * BuildService key for dependency injection.
1083
+ *
1084
+ * @example Using BuildService with Effect
1085
+ * ```typescript
1086
+ * import { Effect } from "effect";
1087
+ * import { AppLayer, BuildService, ConfigService } from "@savvy-web/github-action-builder";
1088
+ *
1089
+ * const program = Effect.gen(function* () {
1090
+ * const configService = yield* ConfigService;
1091
+ * const buildService = yield* BuildService;
1092
+ *
1093
+ * const { config } = yield* configService.load();
1094
+ * const result = yield* buildService.build(config);
1095
+ *
1096
+ * if (result.success) {
1097
+ * console.log("Build complete:", result.entries.length, "entries");
1098
+ * }
1099
+ * });
1100
+ *
1101
+ * Effect.runPromise(program.pipe(Effect.provide(AppLayer)));
1102
+ * ```
1135
1103
  *
1136
1104
  * @public
1137
1105
  */
1138
- declare const BuildService: Context.Tag<BuildService, BuildService>;
1106
+ declare class BuildService extends BuildService_base {}
1139
1107
  //#endregion
1140
1108
  //#region src/services/persist-local.d.ts
1141
1109
  /**
@@ -1144,7 +1112,7 @@ declare const BuildService: Context.Tag<BuildService, BuildService>;
1144
1112
  */
1145
1113
  declare const PersistLocalRunnerOptionsSchema: Schema.Struct<{
1146
1114
  /** Working directory. Accepts string. */
1147
- cwd: Schema.optional<typeof Schema.String>;
1115
+ readonly cwd: Schema.optional<Schema.String>;
1148
1116
  }>;
1149
1117
  /**
1150
1118
  * Options for the persist operation.
@@ -1157,17 +1125,17 @@ type PersistLocalRunnerOptions = typeof PersistLocalRunnerOptionsSchema.Type;
1157
1125
  */
1158
1126
  declare const PersistLocalResultSchema: Schema.Struct<{
1159
1127
  /** Whether the operation completed successfully. */
1160
- success: typeof Schema.Boolean;
1128
+ readonly success: Schema.Boolean;
1161
1129
  /** Number of files copied (changed or new). */
1162
- filesCopied: typeof Schema.Number;
1130
+ readonly filesCopied: Schema.Number;
1163
1131
  /** Number of files skipped (unchanged). */
1164
- filesSkipped: typeof Schema.Number;
1132
+ readonly filesSkipped: Schema.Number;
1165
1133
  /** Whether act template files were generated. */
1166
- actTemplateGenerated: typeof Schema.Boolean;
1134
+ readonly actTemplateGenerated: Schema.Boolean;
1167
1135
  /** Output path where files were persisted. */
1168
- outputPath: typeof Schema.String;
1136
+ readonly outputPath: Schema.String;
1169
1137
  /** Error message if failed. */
1170
- error: Schema.optional<typeof Schema.String>;
1138
+ readonly error: Schema.optional<Schema.String>;
1171
1139
  }>;
1172
1140
  /**
1173
1141
  * Result of the persist-local operation.
@@ -1175,7 +1143,7 @@ declare const PersistLocalResultSchema: Schema.Struct<{
1175
1143
  */
1176
1144
  type PersistLocalResult = typeof PersistLocalResultSchema.Type;
1177
1145
  /**
1178
- * PersistLocalService interface for copying build output locally.
1146
+ * Service shape for copying build output locally.
1179
1147
  *
1180
1148
  * @remarks
1181
1149
  * This service handles:
@@ -1185,9 +1153,12 @@ type PersistLocalResult = typeof PersistLocalResultSchema.Type;
1185
1153
  * - Validating action.yml runs paths resolve in the destination
1186
1154
  * - Generating act boilerplate files
1187
1155
  *
1156
+ * Use this interface to type structural implementations (e.g. test mocks);
1157
+ * use the {@link PersistLocalService} class as the service key.
1158
+ *
1188
1159
  * @public
1189
1160
  */
1190
- interface PersistLocalService {
1161
+ interface PersistLocalServiceShape {
1191
1162
  /**
1192
1163
  * Persist build output to the local action directory.
1193
1164
  *
@@ -1204,12 +1175,13 @@ interface PersistLocalService {
1204
1175
  */
1205
1176
  readonly formatResult: (result: PersistLocalResult) => string;
1206
1177
  }
1178
+ declare const PersistLocalService_base: Context.ServiceClass<PersistLocalService, "PersistLocalService", PersistLocalServiceShape>;
1207
1179
  /**
1208
- * PersistLocalService tag for dependency injection.
1180
+ * PersistLocalService key for dependency injection.
1209
1181
  *
1210
1182
  * @public
1211
1183
  */
1212
- declare const PersistLocalService: Context.Tag<PersistLocalService, PersistLocalService>;
1184
+ declare class PersistLocalService extends PersistLocalService_base {}
1213
1185
  //#endregion
1214
1186
  //#region src/services/validation.d.ts
1215
1187
  /**
@@ -1218,9 +1190,9 @@ declare const PersistLocalService: Context.Tag<PersistLocalService, PersistLocal
1218
1190
  */
1219
1191
  declare const ValidateOptionsSchema: Schema.Struct<{
1220
1192
  /** Working directory for file operations. Accepts string, Buffer, or URL. */
1221
- cwd: Schema.optional<Schema.transform<Schema.Union<[typeof Schema.String, Schema.instanceOf<Buffer<ArrayBufferLike>>, Schema.instanceOf<URL>]>, typeof Schema.String>>;
1193
+ readonly cwd: Schema.optional<Schema.decodeTo<Schema.String, Schema.Union<readonly [Schema.String, Schema.instanceOf<Buffer<ArrayBufferLike>, unknown>, Schema.instanceOf<URL, unknown>]>, never, never>>;
1222
1194
  /** Force strict mode regardless of environment. Auto-detects from CI when undefined. */
1223
- strict: Schema.optional<typeof Schema.Boolean>;
1195
+ readonly strict: Schema.optional<Schema.Boolean>;
1224
1196
  }>;
1225
1197
  /**
1226
1198
  * Options for validation.
@@ -1233,13 +1205,13 @@ type ValidateOptions = typeof ValidateOptionsSchema.Type;
1233
1205
  */
1234
1206
  declare const ValidationErrorSchema: Schema.Struct<{
1235
1207
  /** Error code for categorization. */
1236
- code: typeof Schema.String;
1208
+ readonly code: Schema.String;
1237
1209
  /** Human-readable error message. */
1238
- message: typeof Schema.String;
1210
+ readonly message: Schema.String;
1239
1211
  /** File path where error occurred. */
1240
- file: Schema.optional<typeof Schema.String>;
1212
+ readonly file: Schema.optional<Schema.String>;
1241
1213
  /** Suggestion for fixing the error. */
1242
- suggestion: Schema.optional<typeof Schema.String>;
1214
+ readonly suggestion: Schema.optional<Schema.String>;
1243
1215
  }>;
1244
1216
  /**
1245
1217
  * A validation error item.
@@ -1252,13 +1224,13 @@ type ValidationErrorItem = typeof ValidationErrorSchema.Type;
1252
1224
  */
1253
1225
  declare const ValidationWarningSchema: Schema.Struct<{
1254
1226
  /** Warning code for categorization. */
1255
- code: typeof Schema.String;
1227
+ readonly code: Schema.String;
1256
1228
  /** Human-readable warning message. */
1257
- message: typeof Schema.String;
1229
+ readonly message: Schema.String;
1258
1230
  /** File path where warning occurred. */
1259
- file: Schema.optional<typeof Schema.String>;
1231
+ readonly file: Schema.optional<Schema.String>;
1260
1232
  /** Suggestion for addressing the warning. */
1261
- suggestion: Schema.optional<typeof Schema.String>;
1233
+ readonly suggestion: Schema.optional<Schema.String>;
1262
1234
  }>;
1263
1235
  /**
1264
1236
  * A validation warning.
@@ -1271,28 +1243,28 @@ type ValidationWarning = typeof ValidationWarningSchema.Type;
1271
1243
  */
1272
1244
  declare const ValidationResultSchema: Schema.Struct<{
1273
1245
  /** Whether validation passed (no errors, or only warnings in non-strict mode). */
1274
- valid: typeof Schema.Boolean;
1246
+ readonly valid: Schema.Boolean;
1275
1247
  /** Validation errors. */
1276
- errors: Schema.Array$<Schema.Struct<{
1248
+ readonly errors: Schema.$Array<Schema.Struct<{
1277
1249
  /** Error code for categorization. */
1278
- code: typeof Schema.String;
1250
+ readonly code: Schema.String;
1279
1251
  /** Human-readable error message. */
1280
- message: typeof Schema.String;
1252
+ readonly message: Schema.String;
1281
1253
  /** File path where error occurred. */
1282
- file: Schema.optional<typeof Schema.String>;
1254
+ readonly file: Schema.optional<Schema.String>;
1283
1255
  /** Suggestion for fixing the error. */
1284
- suggestion: Schema.optional<typeof Schema.String>;
1256
+ readonly suggestion: Schema.optional<Schema.String>;
1285
1257
  }>>;
1286
1258
  /** Validation warnings. */
1287
- warnings: Schema.Array$<Schema.Struct<{
1259
+ readonly warnings: Schema.$Array<Schema.Struct<{
1288
1260
  /** Warning code for categorization. */
1289
- code: typeof Schema.String;
1261
+ readonly code: Schema.String;
1290
1262
  /** Human-readable warning message. */
1291
- message: typeof Schema.String;
1263
+ readonly message: Schema.String;
1292
1264
  /** File path where warning occurred. */
1293
- file: Schema.optional<typeof Schema.String>;
1265
+ readonly file: Schema.optional<Schema.String>;
1294
1266
  /** Suggestion for addressing the warning. */
1295
- suggestion: Schema.optional<typeof Schema.String>;
1267
+ readonly suggestion: Schema.optional<Schema.String>;
1296
1268
  }>>;
1297
1269
  }>;
1298
1270
  /**
@@ -1306,30 +1278,30 @@ type ValidationResult = typeof ValidationResultSchema.Type;
1306
1278
  */
1307
1279
  declare const ActionYmlResultSchema: Schema.Struct<{
1308
1280
  /** Whether the action.yml is valid. */
1309
- valid: typeof Schema.Boolean;
1281
+ readonly valid: Schema.Boolean;
1310
1282
  /** Parsed action.yml content if valid. */
1311
- content: Schema.optional<typeof Schema.Any>;
1283
+ readonly content: Schema.optional<Schema.Any>;
1312
1284
  /** Validation errors. */
1313
- errors: Schema.Array$<Schema.Struct<{
1285
+ readonly errors: Schema.$Array<Schema.Struct<{
1314
1286
  /** Error code for categorization. */
1315
- code: typeof Schema.String;
1287
+ readonly code: Schema.String;
1316
1288
  /** Human-readable error message. */
1317
- message: typeof Schema.String;
1289
+ readonly message: Schema.String;
1318
1290
  /** File path where error occurred. */
1319
- file: Schema.optional<typeof Schema.String>;
1291
+ readonly file: Schema.optional<Schema.String>;
1320
1292
  /** Suggestion for fixing the error. */
1321
- suggestion: Schema.optional<typeof Schema.String>;
1293
+ readonly suggestion: Schema.optional<Schema.String>;
1322
1294
  }>>;
1323
1295
  /** Validation warnings. */
1324
- warnings: Schema.Array$<Schema.Struct<{
1296
+ readonly warnings: Schema.$Array<Schema.Struct<{
1325
1297
  /** Warning code for categorization. */
1326
- code: typeof Schema.String;
1298
+ readonly code: Schema.String;
1327
1299
  /** Human-readable warning message. */
1328
- message: typeof Schema.String;
1300
+ readonly message: Schema.String;
1329
1301
  /** File path where warning occurred. */
1330
- file: Schema.optional<typeof Schema.String>;
1302
+ readonly file: Schema.optional<Schema.String>;
1331
1303
  /** Suggestion for addressing the warning. */
1332
- suggestion: Schema.optional<typeof Schema.String>;
1304
+ readonly suggestion: Schema.optional<Schema.String>;
1333
1305
  }>>;
1334
1306
  }>;
1335
1307
  /**
@@ -1338,7 +1310,7 @@ declare const ActionYmlResultSchema: Schema.Struct<{
1338
1310
  */
1339
1311
  type ActionYmlResult = typeof ActionYmlResultSchema.Type;
1340
1312
  /**
1341
- * ValidationService interface for validation capabilities.
1313
+ * Service shape for validation capabilities.
1342
1314
  *
1343
1315
  * @remarks
1344
1316
  * This service handles:
@@ -1347,29 +1319,12 @@ type ActionYmlResult = typeof ActionYmlResultSchema.Type;
1347
1319
  * - Formatting validation results for display
1348
1320
  * - CI-aware strict mode handling
1349
1321
  *
1350
- * @example Using ValidationService with Effect
1351
- * ```typescript
1352
- * import { Effect } from "effect";
1353
- * import { AppLayer, ConfigService, ValidationService } from "@savvy-web/github-action-builder";
1354
- *
1355
- * const program = Effect.gen(function* () {
1356
- * const configService = yield* ConfigService;
1357
- * const validationService = yield* ValidationService;
1358
- *
1359
- * const { config } = yield* configService.load();
1360
- * const result = yield* validationService.validate(config);
1361
- *
1362
- * if (!result.valid) {
1363
- * console.error("Validation failed:", result.errors);
1364
- * }
1365
- * });
1366
- *
1367
- * Effect.runPromise(program.pipe(Effect.provide(AppLayer)));
1368
- * ```
1322
+ * Use this interface to type structural implementations (e.g. test mocks);
1323
+ * use the {@link ValidationService} class as the service key.
1369
1324
  *
1370
1325
  * @public
1371
1326
  */
1372
- interface ValidationService {
1327
+ interface ValidationServiceShape {
1373
1328
  /**
1374
1329
  * Validate configuration and project structure.
1375
1330
  *
@@ -1406,12 +1361,33 @@ interface ValidationService {
1406
1361
  */
1407
1362
  readonly isStrict: (configStrict?: boolean) => Effect.Effect<boolean>;
1408
1363
  }
1364
+ declare const ValidationService_base: Context.ServiceClass<ValidationService, "ValidationService", ValidationServiceShape>;
1409
1365
  /**
1410
- * ValidationService tag for dependency injection.
1366
+ * ValidationService key for dependency injection.
1367
+ *
1368
+ * @example Using ValidationService with Effect
1369
+ * ```typescript
1370
+ * import { Effect } from "effect";
1371
+ * import { AppLayer, ConfigService, ValidationService } from "@savvy-web/github-action-builder";
1372
+ *
1373
+ * const program = Effect.gen(function* () {
1374
+ * const configService = yield* ConfigService;
1375
+ * const validationService = yield* ValidationService;
1376
+ *
1377
+ * const { config } = yield* configService.load();
1378
+ * const result = yield* validationService.validate(config);
1379
+ *
1380
+ * if (!result.valid) {
1381
+ * console.error("Validation failed:", result.errors);
1382
+ * }
1383
+ * });
1384
+ *
1385
+ * Effect.runPromise(program.pipe(Effect.provide(AppLayer)));
1386
+ * ```
1411
1387
  *
1412
1388
  * @public
1413
1389
  */
1414
- declare const ValidationService: Context.Tag<ValidationService, ValidationService>;
1390
+ declare class ValidationService extends ValidationService_base {}
1415
1391
  //#endregion
1416
1392
  //#region src/github-action.d.ts
1417
1393
  /**
@@ -1474,52 +1450,52 @@ interface GitHubActionOptions {
1474
1450
  */
1475
1451
  declare const GitHubActionBuildResultSchema: Schema.Struct<{
1476
1452
  /** Whether the build completed successfully. */
1477
- success: typeof Schema.Boolean;
1453
+ readonly success: Schema.Boolean;
1478
1454
  /** Build result details if the build step ran. */
1479
- build: Schema.optional<Schema.Struct<{
1480
- success: typeof Schema.Boolean;
1481
- entries: Schema.Array$<Schema.Struct<{
1482
- success: typeof Schema.Boolean;
1483
- stats: Schema.optional<Schema.Struct<{
1484
- entry: typeof Schema.String;
1485
- size: typeof Schema.Number;
1486
- duration: typeof Schema.Number;
1487
- outputPath: typeof Schema.String;
1455
+ readonly build: Schema.optional<Schema.Struct<{
1456
+ readonly success: Schema.Boolean;
1457
+ readonly entries: Schema.$Array<Schema.Struct<{
1458
+ readonly success: Schema.Boolean;
1459
+ readonly stats: Schema.optional<Schema.Struct<{
1460
+ readonly entry: Schema.String;
1461
+ readonly size: Schema.Number;
1462
+ readonly duration: Schema.Number;
1463
+ readonly outputPath: Schema.String;
1488
1464
  }>>;
1489
- error: Schema.optional<typeof Schema.String>;
1465
+ readonly error: Schema.optional<Schema.String>;
1490
1466
  }>>;
1491
- duration: typeof Schema.Number;
1492
- error: Schema.optional<typeof Schema.String>;
1467
+ readonly duration: Schema.Number;
1468
+ readonly error: Schema.optional<Schema.String>;
1493
1469
  }>>;
1494
1470
  /** Validation result if validation was performed. */
1495
- validation: Schema.optional<Schema.Struct<{
1496
- valid: typeof Schema.Boolean;
1497
- errors: Schema.Array$<Schema.Struct<{
1498
- code: typeof Schema.String;
1499
- message: typeof Schema.String;
1500
- file: Schema.optional<typeof Schema.String>;
1501
- suggestion: Schema.optional<typeof Schema.String>;
1471
+ readonly validation: Schema.optional<Schema.Struct<{
1472
+ readonly valid: Schema.Boolean;
1473
+ readonly errors: Schema.$Array<Schema.Struct<{
1474
+ readonly code: Schema.String;
1475
+ readonly message: Schema.String;
1476
+ readonly file: Schema.optional<Schema.String>;
1477
+ readonly suggestion: Schema.optional<Schema.String>;
1502
1478
  }>>;
1503
- warnings: Schema.Array$<Schema.Struct<{
1504
- code: typeof Schema.String;
1505
- message: typeof Schema.String;
1506
- file: Schema.optional<typeof Schema.String>;
1507
- suggestion: Schema.optional<typeof Schema.String>;
1479
+ readonly warnings: Schema.$Array<Schema.Struct<{
1480
+ readonly code: Schema.String;
1481
+ readonly message: Schema.String;
1482
+ readonly file: Schema.optional<Schema.String>;
1483
+ readonly suggestion: Schema.optional<Schema.String>;
1508
1484
  }>>;
1509
1485
  }>>;
1510
1486
  /** Persist-local result if persist was performed. */
1511
- persistLocal: Schema.optional<Schema.Struct<{
1512
- success: typeof Schema.Boolean;
1513
- filesCopied: typeof Schema.Number;
1514
- filesSkipped: typeof Schema.Number;
1515
- actTemplateGenerated: typeof Schema.Boolean;
1516
- outputPath: typeof Schema.String;
1517
- error: Schema.optional<typeof Schema.String>;
1487
+ readonly persistLocal: Schema.optional<Schema.Struct<{
1488
+ readonly success: Schema.Boolean;
1489
+ readonly filesCopied: Schema.Number;
1490
+ readonly filesSkipped: Schema.Number;
1491
+ readonly actTemplateGenerated: Schema.Boolean;
1492
+ readonly outputPath: Schema.String;
1493
+ readonly error: Schema.optional<Schema.String>;
1518
1494
  }>>;
1519
1495
  /** Error message if the build or validation failed. */
1520
- error: Schema.optional<typeof Schema.String>;
1496
+ readonly error: Schema.optional<Schema.String>;
1521
1497
  /** Raw error object for programmatic inspection. */
1522
- cause: Schema.optional<typeof Schema.Unknown>;
1498
+ readonly cause: Schema.optional<Schema.Unknown>;
1523
1499
  }>;
1524
1500
  /**
1525
1501
  * Result of a GitHubAction build operation.
@@ -1534,9 +1510,9 @@ type GitHubActionBuildResult = typeof GitHubActionBuildResultSchema.Type;
1534
1510
  * It handles configuration loading, validation, and bundling in a single workflow.
1535
1511
  *
1536
1512
  * For Effect consumers, use the services directly:
1537
- * - {@link (ConfigService:interface)} for configuration
1538
- * - {@link (ValidationService:interface)} for validation
1539
- * - {@link (BuildService:interface)} for building
1513
+ * - {@link ConfigService} for configuration
1514
+ * - {@link ValidationService} for validation
1515
+ * - {@link BuildService} for building
1540
1516
  *
1541
1517
  * @example Complete build workflow
1542
1518
  * ```typescript
@@ -1758,5 +1734,5 @@ declare const PersistLocalLayer: Layer.Layer<PersistLocalService, never, never>;
1758
1734
  */
1759
1735
  declare const AppLayer: Layer.Layer<BuildService | ConfigService | PersistLocalService | ValidationService, never, never>;
1760
1736
  //#endregion
1761
- export { ActionYmlMissing, ActionYmlMissingBase, ActionYmlPathError, ActionYmlPathErrorBase, type ActionYmlResult, ActionYmlResultSchema, ActionYmlSchemaError, ActionYmlSchemaErrorBase, ActionYmlSyntaxError, ActionYmlSyntaxErrorBase, type AppError, AppLayer, type BuildError, BuildFailed, BuildFailedBase, BuildLayer, type BuildOptions, BuildOptionsSchema, type BuildResult, BuildResultSchema, type BuildRunnerOptions, BuildRunnerOptionsSchema, BuildService, BundleFailed, BundleFailedBase, type BundleResult, BundleResultSchema, type BundleStats, BundleStatsSchema, CleanError, CleanErrorBase, type Config, type ConfigError, type ConfigInput, ConfigInputSchema, ConfigInvalid, ConfigInvalidBase, ConfigLayer, ConfigLoadFailed, ConfigLoadFailedBase, ConfigNotFound, ConfigNotFoundBase, ConfigSchema, ConfigService, type DetectEntriesResult, DetectEntriesResultSchema, type DetectedEntry, DetectedEntrySchema, type Entries, EntriesSchema, EntryFileMissing, EntryFileMissingBase, GitHubAction, type GitHubActionBuildResult, GitHubActionBuildResultSchema, type GitHubActionOptions, type LoadConfigOptions, LoadConfigOptionsSchema, type LoadConfigResult, MainEntryMissing, MainEntryMissingBase, type PersistError, PersistLocalError, PersistLocalErrorBase, PersistLocalLayer, type PersistLocalOptions, PersistLocalOptionsSchema, type PersistLocalResult, PersistLocalResultSchema, type PersistLocalRunnerOptions, PersistLocalRunnerOptionsSchema, PersistLocalService, type ValidateOptions, ValidateOptionsSchema, type ValidationError, type ValidationErrorItem, ValidationErrorSchema, ValidationFailed, ValidationFailedBase, ValidationLayer, type ValidationOptions, ValidationOptionsSchema, type ValidationResult, ValidationResultSchema, ValidationService, type ValidationWarning, ValidationWarningSchema, WorkerEntryInvalidName, WorkerEntryInvalidNameBase, WorkerEntryMissing, WorkerEntryMissingBase, WriteError, WriteErrorBase, defineConfig };
1737
+ export { ActionYmlMissing, ActionYmlMissingBase, ActionYmlPathError, ActionYmlPathErrorBase, type ActionYmlResult, ActionYmlResultSchema, ActionYmlSchemaError, ActionYmlSchemaErrorBase, ActionYmlSyntaxError, ActionYmlSyntaxErrorBase, type AppError, AppLayer, type BuildError, BuildFailed, BuildFailedBase, BuildLayer, type BuildOptions, BuildOptionsSchema, type BuildResult, BuildResultSchema, type BuildRunnerOptions, BuildRunnerOptionsSchema, BuildService, type BuildServiceShape, BundleFailed, BundleFailedBase, type BundleResult, BundleResultSchema, type BundleStats, BundleStatsSchema, CleanError, CleanErrorBase, type Config, type ConfigError, type ConfigInput, ConfigInputSchema, ConfigInvalid, ConfigInvalidBase, ConfigLayer, ConfigLoadFailed, ConfigLoadFailedBase, ConfigNotFound, ConfigNotFoundBase, ConfigSchema, ConfigService, type ConfigServiceShape, type DetectEntriesResult, DetectEntriesResultSchema, type DetectedEntry, DetectedEntrySchema, type Entries, EntriesSchema, EntryFileMissing, EntryFileMissingBase, GitHubAction, type GitHubActionBuildResult, GitHubActionBuildResultSchema, type GitHubActionOptions, type LoadConfigOptions, LoadConfigOptionsSchema, type LoadConfigResult, MainEntryMissing, MainEntryMissingBase, type PersistError, PersistLocalError, PersistLocalErrorBase, PersistLocalLayer, type PersistLocalOptions, PersistLocalOptionsSchema, type PersistLocalResult, PersistLocalResultSchema, type PersistLocalRunnerOptions, PersistLocalRunnerOptionsSchema, PersistLocalService, type PersistLocalServiceShape, type ValidateOptions, ValidateOptionsSchema, type ValidationError, type ValidationErrorItem, ValidationErrorSchema, ValidationFailed, ValidationFailedBase, ValidationLayer, type ValidationOptions, ValidationOptionsSchema, type ValidationResult, ValidationResultSchema, ValidationService, type ValidationServiceShape, type ValidationWarning, ValidationWarningSchema, WorkerEntryInvalidName, WorkerEntryInvalidNameBase, WorkerEntryMissing, WorkerEntryMissingBase, WriteError, WriteErrorBase, defineConfig };
1762
1738
  //# sourceMappingURL=index.d.ts.map