@lanelint/plugin-boundaries 0.0.0-stage → 0.0.2

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.
@@ -0,0 +1,754 @@
1
+ import * as v from "valibot";
2
+ //#region src/rules/allowedImports.d.ts
3
+ export declare const allowedImports: import("@lanelint/core").Rule<{
4
+ rules: {
5
+ from: (string | {
6
+ type?: string | undefined;
7
+ captures?: {
8
+ [x: string]: string | string[];
9
+ } | undefined;
10
+ files?: string | string[] | undefined;
11
+ })[];
12
+ allow?: (string | {
13
+ type?: string | undefined;
14
+ captures?: {
15
+ [x: string]: string | string[];
16
+ } | undefined;
17
+ files?: string | string[] | undefined;
18
+ })[] | undefined;
19
+ disallow?: (string | {
20
+ type?: string | undefined;
21
+ captures?: {
22
+ [x: string]: string | string[];
23
+ } | undefined;
24
+ files?: string | string[] | undefined;
25
+ })[] | undefined;
26
+ message?: string | undefined;
27
+ hint?: string | undefined;
28
+ }[];
29
+ default: "allow" | "disallow";
30
+ includeTests: boolean;
31
+ ignoreTypeImports: boolean;
32
+ }, {
33
+ rules: {
34
+ from: string | (string | {
35
+ type?: string | undefined;
36
+ captures?: {
37
+ [x: string]: string | string[];
38
+ } | undefined;
39
+ files?: string | string[] | undefined;
40
+ })[] | {
41
+ type?: string | undefined;
42
+ captures?: {
43
+ [x: string]: string | string[];
44
+ } | undefined;
45
+ files?: string | string[] | undefined;
46
+ };
47
+ allow?: string | (string | {
48
+ type?: string | undefined;
49
+ captures?: {
50
+ [x: string]: string | string[];
51
+ } | undefined;
52
+ files?: string | string[] | undefined;
53
+ })[] | {
54
+ type?: string | undefined;
55
+ captures?: {
56
+ [x: string]: string | string[];
57
+ } | undefined;
58
+ files?: string | string[] | undefined;
59
+ } | undefined;
60
+ disallow?: string | (string | {
61
+ type?: string | undefined;
62
+ captures?: {
63
+ [x: string]: string | string[];
64
+ } | undefined;
65
+ files?: string | string[] | undefined;
66
+ })[] | {
67
+ type?: string | undefined;
68
+ captures?: {
69
+ [x: string]: string | string[];
70
+ } | undefined;
71
+ files?: string | string[] | undefined;
72
+ } | undefined;
73
+ message?: string | undefined;
74
+ hint?: string | undefined;
75
+ }[];
76
+ default?: "allow" | "disallow" | undefined;
77
+ includeTests?: boolean | undefined;
78
+ ignoreTypeImports?: boolean | undefined;
79
+ }>;
80
+ //#endregion
81
+ //#region src/rules/entryOnly.d.ts
82
+ export declare const entryOnly: import("@lanelint/core").Rule<{
83
+ elements: (string | {
84
+ type?: string | undefined;
85
+ captures?: {
86
+ [x: string]: string | string[];
87
+ } | undefined;
88
+ files?: string | string[] | undefined;
89
+ })[];
90
+ includeTests: boolean;
91
+ ignoreTypeImports: boolean;
92
+ }, {
93
+ elements: string | (string | {
94
+ type?: string | undefined;
95
+ captures?: {
96
+ [x: string]: string | string[];
97
+ } | undefined;
98
+ files?: string | string[] | undefined;
99
+ })[] | {
100
+ type?: string | undefined;
101
+ captures?: {
102
+ [x: string]: string | string[];
103
+ } | undefined;
104
+ files?: string | string[] | undefined;
105
+ };
106
+ includeTests?: boolean | undefined;
107
+ ignoreTypeImports?: boolean | undefined;
108
+ }>;
109
+ //#endregion
110
+ //#region src/rules/noCycles.d.ts
111
+ export declare const noCycles: import("@lanelint/core").Rule<{
112
+ elements?: (string | {
113
+ type?: string | undefined;
114
+ captures?: {
115
+ [x: string]: string | string[];
116
+ } | undefined;
117
+ files?: string | string[] | undefined;
118
+ })[] | undefined;
119
+ includeTests: boolean;
120
+ ignoreTypeImports: boolean;
121
+ }, {
122
+ elements?: string | (string | {
123
+ type?: string | undefined;
124
+ captures?: {
125
+ [x: string]: string | string[];
126
+ } | undefined;
127
+ files?: string | string[] | undefined;
128
+ })[] | {
129
+ type?: string | undefined;
130
+ captures?: {
131
+ [x: string]: string | string[];
132
+ } | undefined;
133
+ files?: string | string[] | undefined;
134
+ } | undefined;
135
+ includeTests?: boolean | undefined;
136
+ ignoreTypeImports?: boolean | undefined;
137
+ } | undefined>;
138
+ //#endregion
139
+ //#region src/rules/noEntryImport.d.ts
140
+ export declare const noEntryImport: import("@lanelint/core").Rule<{
141
+ rules: {
142
+ from: (string | {
143
+ type?: string | undefined;
144
+ captures?: {
145
+ [x: string]: string | string[];
146
+ } | undefined;
147
+ files?: string | string[] | undefined;
148
+ })[];
149
+ to: "self" | (string | {
150
+ type?: string | undefined;
151
+ captures?: {
152
+ [x: string]: string | string[];
153
+ } | undefined;
154
+ files?: string | string[] | undefined;
155
+ })[];
156
+ message?: string | undefined;
157
+ }[];
158
+ includeTests: boolean;
159
+ }, {
160
+ rules: {
161
+ from: string | (string | {
162
+ type?: string | undefined;
163
+ captures?: {
164
+ [x: string]: string | string[];
165
+ } | undefined;
166
+ files?: string | string[] | undefined;
167
+ })[] | {
168
+ type?: string | undefined;
169
+ captures?: {
170
+ [x: string]: string | string[];
171
+ } | undefined;
172
+ files?: string | string[] | undefined;
173
+ };
174
+ to: string | (string | {
175
+ type?: string | undefined;
176
+ captures?: {
177
+ [x: string]: string | string[];
178
+ } | undefined;
179
+ files?: string | string[] | undefined;
180
+ })[] | {
181
+ type?: string | undefined;
182
+ captures?: {
183
+ [x: string]: string | string[];
184
+ } | undefined;
185
+ files?: string | string[] | undefined;
186
+ };
187
+ message?: string | undefined;
188
+ }[];
189
+ includeTests?: boolean | undefined;
190
+ }>;
191
+ //#endregion
192
+ //#region src/rules/noOrphans.d.ts
193
+ export declare const noOrphans: import("@lanelint/core").Rule<{
194
+ roots: string[];
195
+ }, {
196
+ roots?: string[] | undefined;
197
+ } | undefined>;
198
+ //#endregion
199
+ //#region src/rules/noUndeclaredDependency.d.ts
200
+ export declare const noUndeclaredDependency: import("@lanelint/core").Rule<{
201
+ allowDev: string[];
202
+ ignore: string[];
203
+ allowRootDev: boolean;
204
+ }, {
205
+ allowDev?: string[] | undefined;
206
+ ignore?: string[] | undefined;
207
+ allowRootDev?: boolean | undefined;
208
+ } | undefined>;
209
+ //#endregion
210
+ //#region src/rules/noUnresolved.d.ts
211
+ export declare const noUnresolved: import("@lanelint/core").Rule<{
212
+ ignore: string[];
213
+ }, {
214
+ ignore?: string[] | undefined;
215
+ } | undefined>;
216
+ //#endregion
217
+ //#region src/rules/publicApi.d.ts
218
+ export declare const publicApi: import("@lanelint/core").Rule<{
219
+ elements: (string | {
220
+ type?: string | undefined;
221
+ captures?: {
222
+ [x: string]: string | string[];
223
+ } | undefined;
224
+ files?: string | string[] | undefined;
225
+ })[];
226
+ from?: (string | {
227
+ type?: string | undefined;
228
+ captures?: {
229
+ [x: string]: string | string[];
230
+ } | undefined;
231
+ files?: string | string[] | undefined;
232
+ })[] | undefined;
233
+ exceptions: {
234
+ from?: (string | {
235
+ type?: string | undefined;
236
+ captures?: {
237
+ [x: string]: string | string[];
238
+ } | undefined;
239
+ files?: string | string[] | undefined;
240
+ })[] | undefined;
241
+ to: string[];
242
+ }[];
243
+ includeTests: boolean;
244
+ }, {
245
+ elements: string | (string | {
246
+ type?: string | undefined;
247
+ captures?: {
248
+ [x: string]: string | string[];
249
+ } | undefined;
250
+ files?: string | string[] | undefined;
251
+ })[] | {
252
+ type?: string | undefined;
253
+ captures?: {
254
+ [x: string]: string | string[];
255
+ } | undefined;
256
+ files?: string | string[] | undefined;
257
+ };
258
+ from?: string | (string | {
259
+ type?: string | undefined;
260
+ captures?: {
261
+ [x: string]: string | string[];
262
+ } | undefined;
263
+ files?: string | string[] | undefined;
264
+ })[] | {
265
+ type?: string | undefined;
266
+ captures?: {
267
+ [x: string]: string | string[];
268
+ } | undefined;
269
+ files?: string | string[] | undefined;
270
+ } | undefined;
271
+ exceptions?: {
272
+ from?: string | (string | {
273
+ type?: string | undefined;
274
+ captures?: {
275
+ [x: string]: string | string[];
276
+ } | undefined;
277
+ files?: string | string[] | undefined;
278
+ })[] | {
279
+ type?: string | undefined;
280
+ captures?: {
281
+ [x: string]: string | string[];
282
+ } | undefined;
283
+ files?: string | string[] | undefined;
284
+ } | undefined;
285
+ to: string | string[];
286
+ }[] | undefined;
287
+ includeTests?: boolean | undefined;
288
+ }>;
289
+ //#endregion
290
+ //#region src/rules/restrictedGlobals.d.ts
291
+ export declare const restrictedGlobals: import("@lanelint/core").Rule<{
292
+ globals: {
293
+ name: string;
294
+ from?: (string | {
295
+ type?: string | undefined;
296
+ captures?: {
297
+ [x: string]: string | string[];
298
+ } | undefined;
299
+ files?: string | string[] | undefined;
300
+ })[] | undefined;
301
+ message?: string | undefined;
302
+ hint?: string | undefined;
303
+ }[];
304
+ }, {
305
+ globals: {
306
+ name: string;
307
+ from?: string | (string | {
308
+ type?: string | undefined;
309
+ captures?: {
310
+ [x: string]: string | string[];
311
+ } | undefined;
312
+ files?: string | string[] | undefined;
313
+ })[] | {
314
+ type?: string | undefined;
315
+ captures?: {
316
+ [x: string]: string | string[];
317
+ } | undefined;
318
+ files?: string | string[] | undefined;
319
+ } | undefined;
320
+ message?: string | undefined;
321
+ hint?: string | undefined;
322
+ }[];
323
+ }>;
324
+ //#endregion
325
+ //#region src/rules/restrictedPackages.d.ts
326
+ export declare const restrictedPackages: import("@lanelint/core").Rule<{
327
+ packages: {
328
+ name: string;
329
+ importNames?: string[] | undefined;
330
+ allowTypeImports: boolean;
331
+ from?: (string | {
332
+ type?: string | undefined;
333
+ captures?: {
334
+ [x: string]: string | string[];
335
+ } | undefined;
336
+ files?: string | string[] | undefined;
337
+ })[] | undefined;
338
+ message?: string | undefined;
339
+ hint?: string | undefined;
340
+ }[];
341
+ }, {
342
+ packages: {
343
+ name: string;
344
+ importNames?: string[] | undefined;
345
+ allowTypeImports?: boolean | undefined;
346
+ from?: string | (string | {
347
+ type?: string | undefined;
348
+ captures?: {
349
+ [x: string]: string | string[];
350
+ } | undefined;
351
+ files?: string | string[] | undefined;
352
+ })[] | {
353
+ type?: string | undefined;
354
+ captures?: {
355
+ [x: string]: string | string[];
356
+ } | undefined;
357
+ files?: string | string[] | undefined;
358
+ } | undefined;
359
+ message?: string | undefined;
360
+ hint?: string | undefined;
361
+ }[];
362
+ }>;
363
+ //#endregion
364
+ //#region src/rules/workspaceImports.d.ts
365
+ export declare const workspaceImports: import("@lanelint/core").Rule<{
366
+ ignore: string[];
367
+ includeTests: boolean;
368
+ }, {
369
+ ignore?: string[] | undefined;
370
+ includeTests?: boolean | undefined;
371
+ } | undefined>;
372
+ //#endregion
373
+ //#region src/models/optionSchemas.d.ts
374
+ declare const SelectorSchema: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
375
+ readonly type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Element type.">]>, undefined>;
376
+ readonly captures: v.OptionalSchema<v.SchemaWithPipe<readonly [v.RecordSchema<v.StringSchema<undefined>, v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>, undefined>, v.DescriptionAction<{
377
+ [x: string]: string | string[];
378
+ }, "Allowed values per capture of the element pattern, such as `{ name: \"auth\" }`.">]>, undefined>;
379
+ readonly files: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>, v.DescriptionAction<string | string[], "Globs matched against file paths.">]>, undefined>;
380
+ }, undefined>, v.CheckAction<{
381
+ type?: string | undefined;
382
+ captures?: {
383
+ [x: string]: string | string[];
384
+ } | undefined;
385
+ files?: string | string[] | undefined;
386
+ }, "A selector needs type, captures, or files.">]>], undefined>, v.TitleAction<string | {
387
+ type?: string | undefined;
388
+ captures?: {
389
+ [x: string]: string | string[];
390
+ } | undefined;
391
+ files?: string | string[] | undefined;
392
+ }, "Selector">, v.DescriptionAction<string | {
393
+ type?: string | undefined;
394
+ captures?: {
395
+ [x: string]: string | string[];
396
+ } | undefined;
397
+ files?: string | string[] | undefined;
398
+ }, "An element type, or an object that matches elements by type and captures, or files by glob. All given fields must match.">]>;
399
+ type Selector = v.InferOutput<typeof SelectorSchema>;
400
+ //#endregion
401
+ //#region src/index.d.ts
402
+ declare const boundaries: import("@lanelint/core").Plugin<"boundaries", {
403
+ readonly 'allowed-imports': import("@lanelint/core").Rule<{
404
+ rules: {
405
+ from: (string | {
406
+ type?: string | undefined;
407
+ captures?: {
408
+ [x: string]: string | string[];
409
+ } | undefined;
410
+ files?: string | string[] | undefined;
411
+ })[];
412
+ allow?: (string | {
413
+ type?: string | undefined;
414
+ captures?: {
415
+ [x: string]: string | string[];
416
+ } | undefined;
417
+ files?: string | string[] | undefined;
418
+ })[] | undefined;
419
+ disallow?: (string | {
420
+ type?: string | undefined;
421
+ captures?: {
422
+ [x: string]: string | string[];
423
+ } | undefined;
424
+ files?: string | string[] | undefined;
425
+ })[] | undefined;
426
+ message?: string | undefined;
427
+ hint?: string | undefined;
428
+ }[];
429
+ default: "allow" | "disallow";
430
+ includeTests: boolean;
431
+ ignoreTypeImports: boolean;
432
+ }, {
433
+ rules: {
434
+ from: string | (string | {
435
+ type?: string | undefined;
436
+ captures?: {
437
+ [x: string]: string | string[];
438
+ } | undefined;
439
+ files?: string | string[] | undefined;
440
+ })[] | {
441
+ type?: string | undefined;
442
+ captures?: {
443
+ [x: string]: string | string[];
444
+ } | undefined;
445
+ files?: string | string[] | undefined;
446
+ };
447
+ allow?: string | (string | {
448
+ type?: string | undefined;
449
+ captures?: {
450
+ [x: string]: string | string[];
451
+ } | undefined;
452
+ files?: string | string[] | undefined;
453
+ })[] | {
454
+ type?: string | undefined;
455
+ captures?: {
456
+ [x: string]: string | string[];
457
+ } | undefined;
458
+ files?: string | string[] | undefined;
459
+ } | undefined;
460
+ disallow?: string | (string | {
461
+ type?: string | undefined;
462
+ captures?: {
463
+ [x: string]: string | string[];
464
+ } | undefined;
465
+ files?: string | string[] | undefined;
466
+ })[] | {
467
+ type?: string | undefined;
468
+ captures?: {
469
+ [x: string]: string | string[];
470
+ } | undefined;
471
+ files?: string | string[] | undefined;
472
+ } | undefined;
473
+ message?: string | undefined;
474
+ hint?: string | undefined;
475
+ }[];
476
+ default?: "allow" | "disallow" | undefined;
477
+ includeTests?: boolean | undefined;
478
+ ignoreTypeImports?: boolean | undefined;
479
+ }>;
480
+ readonly 'entry-only': import("@lanelint/core").Rule<{
481
+ elements: (string | {
482
+ type?: string | undefined;
483
+ captures?: {
484
+ [x: string]: string | string[];
485
+ } | undefined;
486
+ files?: string | string[] | undefined;
487
+ })[];
488
+ includeTests: boolean;
489
+ ignoreTypeImports: boolean;
490
+ }, {
491
+ elements: string | (string | {
492
+ type?: string | undefined;
493
+ captures?: {
494
+ [x: string]: string | string[];
495
+ } | undefined;
496
+ files?: string | string[] | undefined;
497
+ })[] | {
498
+ type?: string | undefined;
499
+ captures?: {
500
+ [x: string]: string | string[];
501
+ } | undefined;
502
+ files?: string | string[] | undefined;
503
+ };
504
+ includeTests?: boolean | undefined;
505
+ ignoreTypeImports?: boolean | undefined;
506
+ }>;
507
+ readonly 'no-cycles': import("@lanelint/core").Rule<{
508
+ elements?: (string | {
509
+ type?: string | undefined;
510
+ captures?: {
511
+ [x: string]: string | string[];
512
+ } | undefined;
513
+ files?: string | string[] | undefined;
514
+ })[] | undefined;
515
+ includeTests: boolean;
516
+ ignoreTypeImports: boolean;
517
+ }, {
518
+ elements?: string | (string | {
519
+ type?: string | undefined;
520
+ captures?: {
521
+ [x: string]: string | string[];
522
+ } | undefined;
523
+ files?: string | string[] | undefined;
524
+ })[] | {
525
+ type?: string | undefined;
526
+ captures?: {
527
+ [x: string]: string | string[];
528
+ } | undefined;
529
+ files?: string | string[] | undefined;
530
+ } | undefined;
531
+ includeTests?: boolean | undefined;
532
+ ignoreTypeImports?: boolean | undefined;
533
+ } | undefined>;
534
+ readonly 'no-entry-import': import("@lanelint/core").Rule<{
535
+ rules: {
536
+ from: (string | {
537
+ type?: string | undefined;
538
+ captures?: {
539
+ [x: string]: string | string[];
540
+ } | undefined;
541
+ files?: string | string[] | undefined;
542
+ })[];
543
+ to: "self" | (string | {
544
+ type?: string | undefined;
545
+ captures?: {
546
+ [x: string]: string | string[];
547
+ } | undefined;
548
+ files?: string | string[] | undefined;
549
+ })[];
550
+ message?: string | undefined;
551
+ }[];
552
+ includeTests: boolean;
553
+ }, {
554
+ rules: {
555
+ from: string | (string | {
556
+ type?: string | undefined;
557
+ captures?: {
558
+ [x: string]: string | string[];
559
+ } | undefined;
560
+ files?: string | string[] | undefined;
561
+ })[] | {
562
+ type?: string | undefined;
563
+ captures?: {
564
+ [x: string]: string | string[];
565
+ } | undefined;
566
+ files?: string | string[] | undefined;
567
+ };
568
+ to: string | (string | {
569
+ type?: string | undefined;
570
+ captures?: {
571
+ [x: string]: string | string[];
572
+ } | undefined;
573
+ files?: string | string[] | undefined;
574
+ })[] | {
575
+ type?: string | undefined;
576
+ captures?: {
577
+ [x: string]: string | string[];
578
+ } | undefined;
579
+ files?: string | string[] | undefined;
580
+ };
581
+ message?: string | undefined;
582
+ }[];
583
+ includeTests?: boolean | undefined;
584
+ }>;
585
+ readonly 'no-orphans': import("@lanelint/core").Rule<{
586
+ roots: string[];
587
+ }, {
588
+ roots?: string[] | undefined;
589
+ } | undefined>;
590
+ readonly 'no-undeclared-dependency': import("@lanelint/core").Rule<{
591
+ allowDev: string[];
592
+ ignore: string[];
593
+ allowRootDev: boolean;
594
+ }, {
595
+ allowDev?: string[] | undefined;
596
+ ignore?: string[] | undefined;
597
+ allowRootDev?: boolean | undefined;
598
+ } | undefined>;
599
+ readonly 'no-unresolved': import("@lanelint/core").Rule<{
600
+ ignore: string[];
601
+ }, {
602
+ ignore?: string[] | undefined;
603
+ } | undefined>;
604
+ readonly 'public-api': import("@lanelint/core").Rule<{
605
+ elements: (string | {
606
+ type?: string | undefined;
607
+ captures?: {
608
+ [x: string]: string | string[];
609
+ } | undefined;
610
+ files?: string | string[] | undefined;
611
+ })[];
612
+ from?: (string | {
613
+ type?: string | undefined;
614
+ captures?: {
615
+ [x: string]: string | string[];
616
+ } | undefined;
617
+ files?: string | string[] | undefined;
618
+ })[] | undefined;
619
+ exceptions: {
620
+ from?: (string | {
621
+ type?: string | undefined;
622
+ captures?: {
623
+ [x: string]: string | string[];
624
+ } | undefined;
625
+ files?: string | string[] | undefined;
626
+ })[] | undefined;
627
+ to: string[];
628
+ }[];
629
+ includeTests: boolean;
630
+ }, {
631
+ elements: string | (string | {
632
+ type?: string | undefined;
633
+ captures?: {
634
+ [x: string]: string | string[];
635
+ } | undefined;
636
+ files?: string | string[] | undefined;
637
+ })[] | {
638
+ type?: string | undefined;
639
+ captures?: {
640
+ [x: string]: string | string[];
641
+ } | undefined;
642
+ files?: string | string[] | undefined;
643
+ };
644
+ from?: string | (string | {
645
+ type?: string | undefined;
646
+ captures?: {
647
+ [x: string]: string | string[];
648
+ } | undefined;
649
+ files?: string | string[] | undefined;
650
+ })[] | {
651
+ type?: string | undefined;
652
+ captures?: {
653
+ [x: string]: string | string[];
654
+ } | undefined;
655
+ files?: string | string[] | undefined;
656
+ } | undefined;
657
+ exceptions?: {
658
+ from?: string | (string | {
659
+ type?: string | undefined;
660
+ captures?: {
661
+ [x: string]: string | string[];
662
+ } | undefined;
663
+ files?: string | string[] | undefined;
664
+ })[] | {
665
+ type?: string | undefined;
666
+ captures?: {
667
+ [x: string]: string | string[];
668
+ } | undefined;
669
+ files?: string | string[] | undefined;
670
+ } | undefined;
671
+ to: string | string[];
672
+ }[] | undefined;
673
+ includeTests?: boolean | undefined;
674
+ }>;
675
+ readonly 'restricted-globals': import("@lanelint/core").Rule<{
676
+ globals: {
677
+ name: string;
678
+ from?: (string | {
679
+ type?: string | undefined;
680
+ captures?: {
681
+ [x: string]: string | string[];
682
+ } | undefined;
683
+ files?: string | string[] | undefined;
684
+ })[] | undefined;
685
+ message?: string | undefined;
686
+ hint?: string | undefined;
687
+ }[];
688
+ }, {
689
+ globals: {
690
+ name: string;
691
+ from?: string | (string | {
692
+ type?: string | undefined;
693
+ captures?: {
694
+ [x: string]: string | string[];
695
+ } | undefined;
696
+ files?: string | string[] | undefined;
697
+ })[] | {
698
+ type?: string | undefined;
699
+ captures?: {
700
+ [x: string]: string | string[];
701
+ } | undefined;
702
+ files?: string | string[] | undefined;
703
+ } | undefined;
704
+ message?: string | undefined;
705
+ hint?: string | undefined;
706
+ }[];
707
+ }>;
708
+ readonly 'restricted-packages': import("@lanelint/core").Rule<{
709
+ packages: {
710
+ name: string;
711
+ importNames?: string[] | undefined;
712
+ allowTypeImports: boolean;
713
+ from?: (string | {
714
+ type?: string | undefined;
715
+ captures?: {
716
+ [x: string]: string | string[];
717
+ } | undefined;
718
+ files?: string | string[] | undefined;
719
+ })[] | undefined;
720
+ message?: string | undefined;
721
+ hint?: string | undefined;
722
+ }[];
723
+ }, {
724
+ packages: {
725
+ name: string;
726
+ importNames?: string[] | undefined;
727
+ allowTypeImports?: boolean | undefined;
728
+ from?: string | (string | {
729
+ type?: string | undefined;
730
+ captures?: {
731
+ [x: string]: string | string[];
732
+ } | undefined;
733
+ files?: string | string[] | undefined;
734
+ })[] | {
735
+ type?: string | undefined;
736
+ captures?: {
737
+ [x: string]: string | string[];
738
+ } | undefined;
739
+ files?: string | string[] | undefined;
740
+ } | undefined;
741
+ message?: string | undefined;
742
+ hint?: string | undefined;
743
+ }[];
744
+ }>;
745
+ readonly 'workspace-imports': import("@lanelint/core").Rule<{
746
+ ignore: string[];
747
+ includeTests: boolean;
748
+ }, {
749
+ ignore?: string[] | undefined;
750
+ includeTests?: boolean | undefined;
751
+ } | undefined>;
752
+ }, "recommended">;
753
+ //#endregion
754
+ export { type Selector, boundaries as default };