@omniviewdev/providers 0.1.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.
@@ -0,0 +1,1848 @@
1
+ import React from 'react';
2
+
3
+ declare namespace config {
4
+ class PluginAuthor {
5
+ name: string;
6
+ email: string;
7
+ url: string;
8
+ static createFrom(source?: any): PluginAuthor;
9
+ constructor(source?: any);
10
+ }
11
+ class PluginResourceComponent {
12
+ name: string;
13
+ plugin: string;
14
+ area: string;
15
+ resources: string[];
16
+ extension: string;
17
+ static createFrom(source?: any): PluginResourceComponent;
18
+ constructor(source?: any);
19
+ }
20
+ class PluginComponents {
21
+ resource: PluginResourceComponent[];
22
+ static createFrom(source?: any): PluginComponents;
23
+ constructor(source?: any);
24
+ convertValues(a: any, classs: any, asMap?: boolean): any;
25
+ }
26
+ class PluginMaintainer {
27
+ name: string;
28
+ email: string;
29
+ static createFrom(source?: any): PluginMaintainer;
30
+ constructor(source?: any);
31
+ }
32
+ class PluginThemeColors {
33
+ primary: string;
34
+ secondary: string;
35
+ tertiary: string;
36
+ static createFrom(source?: any): PluginThemeColors;
37
+ constructor(source?: any);
38
+ }
39
+ class PluginTheme {
40
+ colors: PluginThemeColors;
41
+ static createFrom(source?: any): PluginTheme;
42
+ constructor(source?: any);
43
+ convertValues(a: any, classs: any, asMap?: boolean): any;
44
+ }
45
+ class PluginMeta {
46
+ id: string;
47
+ version: string;
48
+ name: string;
49
+ icon: string;
50
+ icon_url: string;
51
+ description: string;
52
+ repository: string;
53
+ website: string;
54
+ category: string;
55
+ license: string;
56
+ author?: PluginAuthor;
57
+ maintainers: PluginMaintainer[];
58
+ tags: string[];
59
+ dependencies: string[];
60
+ capabilities: string[];
61
+ theme: PluginTheme;
62
+ components: PluginComponents;
63
+ static createFrom(source?: any): PluginMeta;
64
+ constructor(source?: any);
65
+ convertValues(a: any, classs: any, asMap?: boolean): any;
66
+ }
67
+ }
68
+ declare namespace devserver {
69
+ class DevInfoFile {
70
+ pid: number;
71
+ protocol: string;
72
+ protocolVersion: number;
73
+ addr: string;
74
+ vitePort?: number;
75
+ pluginId?: string;
76
+ version?: string;
77
+ startedAt?: string;
78
+ static createFrom(source?: any): DevInfoFile;
79
+ constructor(source?: any);
80
+ }
81
+ class DevServerManager {
82
+ static createFrom(source?: any): DevServerManager;
83
+ constructor(source?: any);
84
+ }
85
+ class DevServerState {
86
+ pluginID: string;
87
+ mode: string;
88
+ devPath: string;
89
+ vitePort: number;
90
+ viteURL: string;
91
+ viteStatus: string;
92
+ goStatus: string;
93
+ lastBuildDuration: number;
94
+ lastBuildTime: time.Time;
95
+ lastError: string;
96
+ grpcConnected: boolean;
97
+ static createFrom(source?: any): DevServerState;
98
+ constructor(source?: any);
99
+ convertValues(a: any, classs: any, asMap?: boolean): any;
100
+ }
101
+ class LogEntry {
102
+ timestamp: time.Time;
103
+ source: string;
104
+ level: string;
105
+ message: string;
106
+ pluginID: string;
107
+ static createFrom(source?: any): LogEntry;
108
+ constructor(source?: any);
109
+ convertValues(a: any, classs: any, asMap?: boolean): any;
110
+ }
111
+ }
112
+ declare namespace exec {
113
+ class Session {
114
+ created_at: time.Time;
115
+ labels: Record<string, string>;
116
+ params: Record<string, string>;
117
+ id: string;
118
+ command: string[];
119
+ attached: boolean;
120
+ static createFrom(source?: any): Session;
121
+ constructor(source?: any);
122
+ convertValues(a: any, classs: any, asMap?: boolean): any;
123
+ }
124
+ class AttachSessionResult {
125
+ session?: Session;
126
+ buffer: string;
127
+ static createFrom(source?: any): AttachSessionResult;
128
+ constructor(source?: any);
129
+ convertValues(a: any, classs: any, asMap?: boolean): any;
130
+ }
131
+ class CreateTerminalOptions {
132
+ labels: Record<string, string>;
133
+ command: string[];
134
+ static createFrom(source?: any): CreateTerminalOptions;
135
+ constructor(source?: any);
136
+ }
137
+ class Handler {
138
+ plugin: string;
139
+ resource: string;
140
+ target_builder: types.ActionTargetBuilder;
141
+ default_command: string[];
142
+ static createFrom(source?: any): Handler;
143
+ constructor(source?: any);
144
+ convertValues(a: any, classs: any, asMap?: boolean): any;
145
+ }
146
+ class SessionOptions {
147
+ params: Record<string, string>;
148
+ labels: Record<string, string>;
149
+ id: string;
150
+ resource_plugin: string;
151
+ resource_key: string;
152
+ resource_data: Record<string, any>;
153
+ command: string[];
154
+ tty: boolean;
155
+ static createFrom(source?: any): SessionOptions;
156
+ constructor(source?: any);
157
+ }
158
+ }
159
+ declare namespace logs {
160
+ class LogSessionOptions {
161
+ target: string;
162
+ follow: boolean;
163
+ include_previous: boolean;
164
+ include_timestamps: boolean;
165
+ tail_lines: number;
166
+ since_seconds: number;
167
+ since_time?: time.Time;
168
+ limit_bytes: number;
169
+ include_source_events: boolean;
170
+ params: Record<string, string>;
171
+ static createFrom(source?: any): LogSessionOptions;
172
+ constructor(source?: any);
173
+ convertValues(a: any, classs: any, asMap?: boolean): any;
174
+ }
175
+ class CreateSessionOptions {
176
+ resource_key: string;
177
+ resource_id: string;
178
+ resource_data: Record<string, any>;
179
+ options: LogSessionOptions;
180
+ static createFrom(source?: any): CreateSessionOptions;
181
+ constructor(source?: any);
182
+ convertValues(a: any, classs: any, asMap?: boolean): any;
183
+ }
184
+ class Handler {
185
+ plugin: string;
186
+ resource: string;
187
+ target_builder: types.ActionTargetBuilder;
188
+ static createFrom(source?: any): Handler;
189
+ constructor(source?: any);
190
+ convertValues(a: any, classs: any, asMap?: boolean): any;
191
+ }
192
+ class LogSource {
193
+ id: string;
194
+ labels: Record<string, string>;
195
+ static createFrom(source?: any): LogSource;
196
+ constructor(source?: any);
197
+ }
198
+ class LogSession {
199
+ id: string;
200
+ plugin_id: string;
201
+ connection_id: string;
202
+ resource_key: string;
203
+ resource_id: string;
204
+ options: LogSessionOptions;
205
+ status: number;
206
+ active_sources: LogSource[];
207
+ created_at: time.Time;
208
+ static createFrom(source?: any): LogSession;
209
+ constructor(source?: any);
210
+ convertValues(a: any, classs: any, asMap?: boolean): any;
211
+ }
212
+ }
213
+ declare namespace main {
214
+ class FileFilter {
215
+ displayName: string;
216
+ pattern: string;
217
+ static createFrom(source?: any): FileFilter;
218
+ constructor(source?: any);
219
+ }
220
+ class FileDialogOptions {
221
+ defaultDirectory: string;
222
+ defaultFilename: string;
223
+ title: string;
224
+ filters: FileFilter[];
225
+ showHiddenFiles: boolean;
226
+ canCreateDirectories: boolean;
227
+ resolvesAliases: boolean;
228
+ treatPackagesAsDirectories: boolean;
229
+ static createFrom(source?: any): FileDialogOptions;
230
+ constructor(source?: any);
231
+ convertValues(a: any, classs: any, asMap?: boolean): any;
232
+ }
233
+ }
234
+ declare namespace metric {
235
+ class AggregateValue {
236
+ metric_id: string;
237
+ min: number;
238
+ max: number;
239
+ avg: number;
240
+ sum: number;
241
+ p50: number;
242
+ p90: number;
243
+ p99: number;
244
+ count: number;
245
+ window: number;
246
+ labels: Record<string, string>;
247
+ static createFrom(source?: any): AggregateValue;
248
+ constructor(source?: any);
249
+ }
250
+ class ColorRange {
251
+ min: number;
252
+ max: number;
253
+ color: string;
254
+ static createFrom(source?: any): ColorRange;
255
+ constructor(source?: any);
256
+ }
257
+ class CurrentValue {
258
+ metric_id: string;
259
+ value: number;
260
+ timestamp: time.Time;
261
+ labels: Record<string, string>;
262
+ static createFrom(source?: any): CurrentValue;
263
+ constructor(source?: any);
264
+ convertValues(a: any, classs: any, asMap?: boolean): any;
265
+ }
266
+ class DataPoint {
267
+ timestamp: time.Time;
268
+ value: number;
269
+ labels: Record<string, string>;
270
+ static createFrom(source?: any): DataPoint;
271
+ constructor(source?: any);
272
+ convertValues(a: any, classs: any, asMap?: boolean): any;
273
+ }
274
+ class MetricDescriptor {
275
+ id: string;
276
+ name: string;
277
+ unit: number;
278
+ icon: string;
279
+ color_ranges: ColorRange[];
280
+ format_string: string;
281
+ supported_shapes: number[];
282
+ chart_group: string;
283
+ static createFrom(source?: any): MetricDescriptor;
284
+ constructor(source?: any);
285
+ convertValues(a: any, classs: any, asMap?: boolean): any;
286
+ }
287
+ class Handler {
288
+ resource: string;
289
+ metrics: MetricDescriptor[];
290
+ static createFrom(source?: any): Handler;
291
+ constructor(source?: any);
292
+ convertValues(a: any, classs: any, asMap?: boolean): any;
293
+ }
294
+ class MetricProviderSummary {
295
+ plugin_id: string;
296
+ provider_id: string;
297
+ name: string;
298
+ icon: string;
299
+ description: string;
300
+ handlers: Handler[];
301
+ static createFrom(source?: any): MetricProviderSummary;
302
+ constructor(source?: any);
303
+ convertValues(a: any, classs: any, asMap?: boolean): any;
304
+ }
305
+ class TimeSeries {
306
+ metric_id: string;
307
+ data_points: DataPoint[];
308
+ labels: Record<string, string>;
309
+ static createFrom(source?: any): TimeSeries;
310
+ constructor(source?: any);
311
+ convertValues(a: any, classs: any, asMap?: boolean): any;
312
+ }
313
+ class MetricResult {
314
+ time_series?: TimeSeries;
315
+ current_value?: CurrentValue;
316
+ aggregate_value?: AggregateValue;
317
+ static createFrom(source?: any): MetricResult;
318
+ constructor(source?: any);
319
+ convertValues(a: any, classs: any, asMap?: boolean): any;
320
+ }
321
+ class QueryRequest {
322
+ resource_key: string;
323
+ resource_id: string;
324
+ resource_namespace: string;
325
+ resource_data: Record<string, any>;
326
+ metric_ids: string[];
327
+ shape: number;
328
+ start_time: time.Time;
329
+ end_time: time.Time;
330
+ step: number;
331
+ params: Record<string, string>;
332
+ static createFrom(source?: any): QueryRequest;
333
+ constructor(source?: any);
334
+ convertValues(a: any, classs: any, asMap?: boolean): any;
335
+ }
336
+ class QueryResponse {
337
+ success: boolean;
338
+ results: MetricResult[];
339
+ error: string;
340
+ static createFrom(source?: any): QueryResponse;
341
+ constructor(source?: any);
342
+ convertValues(a: any, classs: any, asMap?: boolean): any;
343
+ }
344
+ class SubscribeRequest {
345
+ resource_key: string;
346
+ resource_id: string;
347
+ resource_namespace: string;
348
+ resource_data: Record<string, any>;
349
+ metric_ids: string[];
350
+ interval: number;
351
+ static createFrom(source?: any): SubscribeRequest;
352
+ constructor(source?: any);
353
+ }
354
+ }
355
+ declare namespace networker {
356
+ class FindPortForwardSessionRequest {
357
+ resource_id: string;
358
+ connection_id: string;
359
+ static createFrom(source?: any): FindPortForwardSessionRequest;
360
+ constructor(source?: any);
361
+ }
362
+ class PortForwardSessionEncryption {
363
+ algorithm: string;
364
+ key: string;
365
+ enabled: boolean;
366
+ static createFrom(source?: any): PortForwardSessionEncryption;
367
+ constructor(source?: any);
368
+ }
369
+ class PortForwardSession {
370
+ created_at: time.Time;
371
+ updated_at: time.Time;
372
+ connection: any;
373
+ labels: Record<string, string>;
374
+ id: string;
375
+ protocol: string;
376
+ state: string;
377
+ connection_type: string;
378
+ encryption: PortForwardSessionEncryption;
379
+ local_port: number;
380
+ remote_port: number;
381
+ static createFrom(source?: any): PortForwardSession;
382
+ constructor(source?: any);
383
+ convertValues(a: any, classs: any, asMap?: boolean): any;
384
+ }
385
+ class PortForwardSessionOptions {
386
+ connection: any;
387
+ labels: Record<string, string>;
388
+ params: Record<string, string>;
389
+ protocol: string;
390
+ connection_type: string;
391
+ encryption: PortForwardSessionEncryption;
392
+ local_port: number;
393
+ remote_port: number;
394
+ static createFrom(source?: any): PortForwardSessionOptions;
395
+ constructor(source?: any);
396
+ convertValues(a: any, classs: any, asMap?: boolean): any;
397
+ }
398
+ }
399
+ declare namespace plugin {
400
+ class LoadPluginOptions {
401
+ DevMode: boolean;
402
+ DevModePath: string;
403
+ ExistingState?: types.PluginState;
404
+ static createFrom(source?: any): LoadPluginOptions;
405
+ constructor(source?: any);
406
+ convertValues(a: any, classs: any, asMap?: boolean): any;
407
+ }
408
+ }
409
+ declare namespace registry {
410
+ class AvailablePlugin {
411
+ id: string;
412
+ name: string;
413
+ description: string;
414
+ icon_url: string;
415
+ category: string;
416
+ tags: string[];
417
+ license: string;
418
+ official: boolean;
419
+ featured: boolean;
420
+ download_count: number;
421
+ average_rating: number;
422
+ review_count: number;
423
+ repository: string;
424
+ url: string;
425
+ installed: boolean;
426
+ installed_version: string;
427
+ latest_version: string;
428
+ update_available: boolean;
429
+ static createFrom(source?: any): AvailablePlugin;
430
+ constructor(source?: any);
431
+ }
432
+ class DailyStat {
433
+ date: string;
434
+ count: number;
435
+ static createFrom(source?: any): DailyStat;
436
+ constructor(source?: any);
437
+ }
438
+ class DownloadStats {
439
+ total: number;
440
+ last_month: number;
441
+ last_week: number;
442
+ daily_stats: DailyStat[];
443
+ static createFrom(source?: any): DownloadStats;
444
+ constructor(source?: any);
445
+ convertValues(a: any, classs: any, asMap?: boolean): any;
446
+ }
447
+ class Review {
448
+ id: string;
449
+ user_id: number;
450
+ rating: number;
451
+ title: string;
452
+ body: string;
453
+ created_at: string;
454
+ static createFrom(source?: any): Review;
455
+ constructor(source?: any);
456
+ }
457
+ class VersionInfo {
458
+ version: string;
459
+ description: string;
460
+ changelog: string;
461
+ min_ide_version: string;
462
+ max_ide_version: string;
463
+ capabilities: string[];
464
+ created_at: string;
465
+ static createFrom(source?: any): VersionInfo;
466
+ constructor(source?: any);
467
+ }
468
+ }
469
+ declare namespace settings {
470
+ enum SettingType {
471
+ TEXT = "text",
472
+ INTEGER = "integer",
473
+ FLOAT = "float",
474
+ TOGGLE = "toggle",
475
+ COLOR = "color",
476
+ DATETIME = "datetime",
477
+ PASSWORD = "password"
478
+ }
479
+ class SettingFileSelection {
480
+ enabled: boolean;
481
+ allowFolders: boolean;
482
+ extensions: string[];
483
+ multiple: boolean;
484
+ relative: boolean;
485
+ defaultPath: string;
486
+ static createFrom(source?: any): SettingFileSelection;
487
+ constructor(source?: any);
488
+ }
489
+ class SettingOption {
490
+ label: string;
491
+ description: string;
492
+ value: any;
493
+ static createFrom(source?: any): SettingOption;
494
+ constructor(source?: any);
495
+ }
496
+ class Setting {
497
+ id: string;
498
+ label: string;
499
+ description: string;
500
+ type: SettingType;
501
+ value: any;
502
+ default: any;
503
+ options: SettingOption[];
504
+ fileSelection?: SettingFileSelection;
505
+ sensitive: boolean;
506
+ static createFrom(source?: any): Setting;
507
+ constructor(source?: any);
508
+ convertValues(a: any, classs: any, asMap?: boolean): any;
509
+ }
510
+ class Category {
511
+ settings: Record<string, Setting>;
512
+ id: string;
513
+ label: string;
514
+ description: string;
515
+ icon: string;
516
+ static createFrom(source?: any): Category;
517
+ constructor(source?: any);
518
+ convertValues(a: any, classs: any, asMap?: boolean): any;
519
+ }
520
+ }
521
+ declare namespace time {
522
+ class Time {
523
+ static createFrom(source?: any): Time;
524
+ constructor(source?: any);
525
+ }
526
+ }
527
+ declare namespace trivy {
528
+ enum Command {
529
+ CONFIG = "config",
530
+ FILESYSTEM = "fs",
531
+ IMAGE = "image",
532
+ KUBERNETES = "kubernetes",
533
+ REPOSITORY = "repository",
534
+ ROOTFS = "rootfs",
535
+ SBOM = "sbom"
536
+ }
537
+ enum Scanner {
538
+ VULN = "vuln",
539
+ MISCONFIG = "misconfig",
540
+ SECRET = "secret",
541
+ LICENSE = "license"
542
+ }
543
+ class ScanOptions {
544
+ filePatterns: string[];
545
+ skipDirs: string[];
546
+ skipFiles: string[];
547
+ scanners: string[];
548
+ static createFrom(source?: any): ScanOptions;
549
+ constructor(source?: any);
550
+ }
551
+ class ScanResult {
552
+ timestamp: time.Time;
553
+ result: Record<string, any>;
554
+ id: string;
555
+ command: Command;
556
+ static createFrom(source?: any): ScanResult;
557
+ constructor(source?: any);
558
+ convertValues(a: any, classs: any, asMap?: boolean): any;
559
+ }
560
+ }
561
+ declare namespace types {
562
+ enum ConnectionStatusCode {
563
+ UNKNOWN = "UNKNOWN",
564
+ CONNECTED = "CONNECTED",
565
+ DISCONNECTED = "DISCONNECTED",
566
+ PENDING = "PENDING",
567
+ FAILED = "FAILED",
568
+ ERROR = "ERROR",
569
+ UNAUTHORIZED = "UNAUTHORIZED",
570
+ FORBIDDEN = "FORBIDDEN",
571
+ BAD_REQUEST = "BAD_REQUEST",
572
+ NOT_FOUND = "NOT_FOUND",
573
+ TIMEOUT = "TIMEOUT",
574
+ UNAVAILABLE = "UNAVAILABLE",
575
+ REQUEST_ENTITY_TOO_LARGE = "REQUEST_ENTITY_TOO_LARGE"
576
+ }
577
+ class ActionDescriptor {
578
+ id: string;
579
+ label: string;
580
+ description: string;
581
+ icon: string;
582
+ scope: string;
583
+ streaming: boolean;
584
+ static createFrom(source?: any): ActionDescriptor;
585
+ constructor(source?: any);
586
+ }
587
+ class ActionInput {
588
+ id: string;
589
+ namespace: string;
590
+ params: Record<string, any>;
591
+ static createFrom(source?: any): ActionInput;
592
+ constructor(source?: any);
593
+ }
594
+ class ActionResult {
595
+ success: boolean;
596
+ data: Record<string, any>;
597
+ message: string;
598
+ static createFrom(source?: any): ActionResult;
599
+ constructor(source?: any);
600
+ }
601
+ class ActionTargetBuilder {
602
+ selectors: Record<string, string>;
603
+ label_selector: string;
604
+ label: string;
605
+ paths: string[];
606
+ static createFrom(source?: any): ActionTargetBuilder;
607
+ constructor(source?: any);
608
+ }
609
+ class ResourceLink {
610
+ idAccessor: string;
611
+ namespaceAccessor: string;
612
+ namespaced: boolean;
613
+ resourceKey: string;
614
+ keyAccessor: string;
615
+ keyMap: Record<string, string>;
616
+ detailExtractors: Record<string, string>;
617
+ displayId: boolean;
618
+ static createFrom(source?: any): ResourceLink;
619
+ constructor(source?: any);
620
+ }
621
+ class ColumnDef {
622
+ id: string;
623
+ header: string;
624
+ accessor: string;
625
+ accessorPriority?: string;
626
+ colorMap?: Record<string, string>;
627
+ color?: string;
628
+ align?: string;
629
+ hidden?: boolean;
630
+ width?: number;
631
+ formatter?: string;
632
+ component?: string;
633
+ componentParams?: any;
634
+ resourceLink?: ResourceLink;
635
+ valueMap?: Record<string, string>;
636
+ static createFrom(source?: any): ColumnDef;
637
+ constructor(source?: any);
638
+ convertValues(a: any, classs: any, asMap?: boolean): any;
639
+ }
640
+ class Connection {
641
+ last_refresh: time.Time;
642
+ data: Record<string, any>;
643
+ labels: Record<string, any>;
644
+ id: string;
645
+ uid: string;
646
+ name: string;
647
+ description: string;
648
+ avatar: string;
649
+ expiry_time: number;
650
+ Client: any;
651
+ static createFrom(source?: any): Connection;
652
+ constructor(source?: any);
653
+ convertValues(a: any, classs: any, asMap?: boolean): any;
654
+ }
655
+ class ConnectionStatus {
656
+ connection?: Connection;
657
+ status: ConnectionStatusCode;
658
+ error: string;
659
+ details: string;
660
+ static createFrom(source?: any): ConnectionStatus;
661
+ constructor(source?: any);
662
+ convertValues(a: any, classs: any, asMap?: boolean): any;
663
+ }
664
+ class CreateInput {
665
+ params: any;
666
+ input: Record<string, any>;
667
+ namespace: string;
668
+ static createFrom(source?: any): CreateInput;
669
+ constructor(source?: any);
670
+ }
671
+ class CreateResult {
672
+ result: Record<string, any>;
673
+ success: boolean;
674
+ static createFrom(source?: any): CreateResult;
675
+ constructor(source?: any);
676
+ }
677
+ class DeleteInput {
678
+ input: Record<string, any>;
679
+ params: Record<string, any>;
680
+ id: string;
681
+ namespace: string;
682
+ static createFrom(source?: any): DeleteInput;
683
+ constructor(source?: any);
684
+ }
685
+ class DeleteResult {
686
+ result: Record<string, any>;
687
+ success: boolean;
688
+ static createFrom(source?: any): DeleteResult;
689
+ constructor(source?: any);
690
+ }
691
+ class EditorSchema {
692
+ resourceKey: string;
693
+ fileMatch: string;
694
+ uri: string;
695
+ url?: string;
696
+ content?: number[];
697
+ language: string;
698
+ static createFrom(source?: any): EditorSchema;
699
+ constructor(source?: any);
700
+ }
701
+ class PaginationParams {
702
+ page: number;
703
+ pageSize: number;
704
+ static createFrom(source?: any): PaginationParams;
705
+ constructor(source?: any);
706
+ }
707
+ class OrderParams {
708
+ by: string;
709
+ direction: boolean;
710
+ static createFrom(source?: any): OrderParams;
711
+ constructor(source?: any);
712
+ }
713
+ class FindInput {
714
+ params: Record<string, any>;
715
+ conditions: Record<string, any>;
716
+ namespaces: string[];
717
+ order: OrderParams;
718
+ pagination: PaginationParams;
719
+ static createFrom(source?: any): FindInput;
720
+ constructor(source?: any);
721
+ convertValues(a: any, classs: any, asMap?: boolean): any;
722
+ }
723
+ class PaginationResult {
724
+ page: number;
725
+ pageSize: number;
726
+ total: number;
727
+ pages: number;
728
+ static createFrom(source?: any): PaginationResult;
729
+ constructor(source?: any);
730
+ }
731
+ class FindResult {
732
+ result: any[];
733
+ success: boolean;
734
+ pagination: PaginationResult;
735
+ static createFrom(source?: any): FindResult;
736
+ constructor(source?: any);
737
+ convertValues(a: any, classs: any, asMap?: boolean): any;
738
+ }
739
+ class GetInput {
740
+ params: Record<string, any>;
741
+ id: string;
742
+ namespace: string;
743
+ static createFrom(source?: any): GetInput;
744
+ constructor(source?: any);
745
+ }
746
+ class GetResult {
747
+ result: Record<string, any>;
748
+ success: boolean;
749
+ static createFrom(source?: any): GetResult;
750
+ constructor(source?: any);
751
+ }
752
+ class InformerConnectionSummary {
753
+ connection: string;
754
+ resources: Record<string, number>;
755
+ resourceCounts: Record<string, number>;
756
+ totalResources: number;
757
+ syncedCount: number;
758
+ errorCount: number;
759
+ static createFrom(source?: any): InformerConnectionSummary;
760
+ constructor(source?: any);
761
+ }
762
+ class LayoutItem {
763
+ id: string;
764
+ title: string;
765
+ icon: string;
766
+ description: string;
767
+ items: LayoutItem[];
768
+ static createFrom(source?: any): LayoutItem;
769
+ constructor(source?: any);
770
+ convertValues(a: any, classs: any, asMap?: boolean): any;
771
+ }
772
+ class ListInput {
773
+ params: Record<string, any>;
774
+ namespaces: string[];
775
+ order: OrderParams;
776
+ pagination: PaginationParams;
777
+ static createFrom(source?: any): ListInput;
778
+ constructor(source?: any);
779
+ convertValues(a: any, classs: any, asMap?: boolean): any;
780
+ }
781
+ class ListResult {
782
+ result: any[];
783
+ success: boolean;
784
+ pagination: PaginationResult;
785
+ static createFrom(source?: any): ListResult;
786
+ constructor(source?: any);
787
+ convertValues(a: any, classs: any, asMap?: boolean): any;
788
+ }
789
+ class Plugin {
790
+ id: string;
791
+ metadata: config.PluginMeta;
792
+ enabled: boolean;
793
+ running: boolean;
794
+ devMode: boolean;
795
+ devPath: string;
796
+ loading: boolean;
797
+ loadError: string;
798
+ capabilities: number[];
799
+ static createFrom(source?: any): Plugin;
800
+ constructor(source?: any);
801
+ convertValues(a: any, classs: any, asMap?: boolean): any;
802
+ }
803
+ class PluginState {
804
+ Metadata: config.PluginMeta;
805
+ ID: string;
806
+ DevPath: string;
807
+ Enabled: boolean;
808
+ DevMode: boolean;
809
+ static createFrom(source?: any): PluginState;
810
+ constructor(source?: any);
811
+ convertValues(a: any, classs: any, asMap?: boolean): any;
812
+ }
813
+ class ResourceDefinition {
814
+ id_accessor: string;
815
+ namespace_accessor: string;
816
+ memoizer_accessor: string;
817
+ columnDefs: ColumnDef[];
818
+ supportedOperations?: number[];
819
+ static createFrom(source?: any): ResourceDefinition;
820
+ constructor(source?: any);
821
+ convertValues(a: any, classs: any, asMap?: boolean): any;
822
+ }
823
+ class ResourceGroup {
824
+ id: string;
825
+ name: string;
826
+ description: string;
827
+ icon: string;
828
+ resources: Record<string, Array<ResourceMeta>>;
829
+ static createFrom(source?: any): ResourceGroup;
830
+ constructor(source?: any);
831
+ convertValues(a: any, classs: any, asMap?: boolean): any;
832
+ }
833
+ class ResourceMeta {
834
+ group: string;
835
+ version: string;
836
+ kind: string;
837
+ label: string;
838
+ icon: string;
839
+ description: string;
840
+ category: string;
841
+ static createFrom(source?: any): ResourceMeta;
842
+ constructor(source?: any);
843
+ }
844
+ class UpdateInput {
845
+ input: Record<string, any>;
846
+ params: Record<string, any>;
847
+ id: string;
848
+ namespace: string;
849
+ static createFrom(source?: any): UpdateInput;
850
+ constructor(source?: any);
851
+ }
852
+ class UpdateResult {
853
+ result: Record<string, any>;
854
+ success: boolean;
855
+ static createFrom(source?: any): UpdateResult;
856
+ constructor(source?: any);
857
+ }
858
+ }
859
+ declare namespace ui {
860
+ class GetPluginComponentsInput {
861
+ plugin: string;
862
+ static createFrom(source?: any): GetPluginComponentsInput;
863
+ constructor(source?: any);
864
+ }
865
+ class GetResourceAreaComponentInput {
866
+ plugin: string;
867
+ resource: string;
868
+ area: string;
869
+ static createFrom(source?: any): GetResourceAreaComponentInput;
870
+ constructor(source?: any);
871
+ }
872
+ class GetResourceComponentsInput {
873
+ plugin: string;
874
+ resource: string;
875
+ static createFrom(source?: any): GetResourceComponentsInput;
876
+ constructor(source?: any);
877
+ }
878
+ class ResourceComponent {
879
+ owner: string;
880
+ name: string;
881
+ plugin: string;
882
+ resource: string;
883
+ area: string;
884
+ extension: string;
885
+ static createFrom(source?: any): ResourceComponent;
886
+ constructor(source?: any);
887
+ }
888
+ }
889
+ declare namespace utils {
890
+ class GetLanguageInput {
891
+ filename: string;
892
+ contents: string;
893
+ static createFrom(source?: any): GetLanguageInput;
894
+ constructor(source?: any);
895
+ }
896
+ }
897
+ /**
898
+ * Stub for Go's context.Context.
899
+ * Wails codegen references context.Context in .d.ts files but never emits
900
+ * a TypeScript definition for Go stdlib types. At runtime Wails injects
901
+ * the context automatically — JS callers never pass it.
902
+ */
903
+ declare namespace context {
904
+ type Context = any;
905
+ }
906
+
907
+ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
908
+ // This file is automatically generated. DO NOT EDIT
909
+
910
+
911
+ declare function GetOperatingSystem():Promise<string>;
912
+
913
+ declare function OpenFileSelectionDialog(arg1:main.FileDialogOptions):Promise<Array<string>>;
914
+
915
+ declare function SaveFileDialog(arg1:main.FileDialogOptions):Promise<string>;
916
+
917
+ declare function WriteFileContent(arg1:string,arg2:string):Promise<void>;
918
+
919
+ declare const App_d_GetOperatingSystem: typeof GetOperatingSystem;
920
+ declare const App_d_OpenFileSelectionDialog: typeof OpenFileSelectionDialog;
921
+ declare const App_d_SaveFileDialog: typeof SaveFileDialog;
922
+ declare const App_d_WriteFileContent: typeof WriteFileContent;
923
+ declare namespace App_d {
924
+ export { App_d_GetOperatingSystem as GetOperatingSystem, App_d_OpenFileSelectionDialog as OpenFileSelectionDialog, App_d_SaveFileDialog as SaveFileDialog, App_d_WriteFileContent as WriteFileContent };
925
+ }
926
+
927
+ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
928
+ // This file is automatically generated. DO NOT EDIT
929
+
930
+ declare function Delete$1(arg1:string,arg2:string):Promise<void>;
931
+
932
+ declare function Get$1(arg1:string,arg2:string):Promise<any>;
933
+
934
+ declare function Keys(arg1:string):Promise<Array<string>>;
935
+
936
+ declare function Set(arg1:string,arg2:string,arg3:any):Promise<void>;
937
+
938
+ declare const Client_d$8_Keys: typeof Keys;
939
+ declare const Client_d$8_Set: typeof Set;
940
+ declare namespace Client_d$8 {
941
+ export { Delete$1 as Delete, Get$1 as Get, Client_d$8_Keys as Keys, Client_d$8_Set as Set };
942
+ }
943
+
944
+ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
945
+ // This file is automatically generated. DO NOT EDIT
946
+
947
+
948
+ declare function GetDevServerLogs(arg1:string,arg2:number):Promise<Array<devserver.LogEntry>>;
949
+
950
+ declare function GetDevServerState(arg1:string):Promise<devserver.DevServerState>;
951
+
952
+ declare function GetExternalPluginInfo(arg1:string):Promise<devserver.DevInfoFile>;
953
+
954
+ declare function Initialize$2(arg1:context.Context):Promise<void>;
955
+
956
+ declare function IsManaged(arg1:string):Promise<boolean>;
957
+
958
+ declare function ListDevServerStates():Promise<Array<devserver.DevServerState>>;
959
+
960
+ declare function RestartDevServer(arg1:string):Promise<devserver.DevServerState>;
961
+
962
+ declare function Shutdown$1():Promise<void>;
963
+
964
+ declare function StartDevServer(arg1:string):Promise<devserver.DevServerState>;
965
+
966
+ declare function StartDevServerForPath(arg1:string,arg2:string):Promise<devserver.DevServerState>;
967
+
968
+ declare function StopDevServer(arg1:string):Promise<void>;
969
+
970
+ declare const DevServerManager_d_GetDevServerLogs: typeof GetDevServerLogs;
971
+ declare const DevServerManager_d_GetDevServerState: typeof GetDevServerState;
972
+ declare const DevServerManager_d_GetExternalPluginInfo: typeof GetExternalPluginInfo;
973
+ declare const DevServerManager_d_IsManaged: typeof IsManaged;
974
+ declare const DevServerManager_d_ListDevServerStates: typeof ListDevServerStates;
975
+ declare const DevServerManager_d_RestartDevServer: typeof RestartDevServer;
976
+ declare const DevServerManager_d_StartDevServer: typeof StartDevServer;
977
+ declare const DevServerManager_d_StartDevServerForPath: typeof StartDevServerForPath;
978
+ declare const DevServerManager_d_StopDevServer: typeof StopDevServer;
979
+ declare namespace DevServerManager_d {
980
+ export { DevServerManager_d_GetDevServerLogs as GetDevServerLogs, DevServerManager_d_GetDevServerState as GetDevServerState, DevServerManager_d_GetExternalPluginInfo as GetExternalPluginInfo, Initialize$2 as Initialize, DevServerManager_d_IsManaged as IsManaged, DevServerManager_d_ListDevServerStates as ListDevServerStates, DevServerManager_d_RestartDevServer as RestartDevServer, Shutdown$1 as Shutdown, DevServerManager_d_StartDevServer as StartDevServer, DevServerManager_d_StartDevServerForPath as StartDevServerForPath, DevServerManager_d_StopDevServer as StopDevServer };
981
+ }
982
+
983
+ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
984
+ // This file is automatically generated. DO NOT EDIT
985
+
986
+ declare function Debug(arg1:string,arg2:Record<string, any>):Promise<void>;
987
+
988
+ declare function Error(arg1:string,arg2:Record<string, any>):Promise<void>;
989
+
990
+ declare function Info(arg1:string,arg2:Record<string, any>):Promise<void>;
991
+
992
+ declare function Log(arg1:string,arg2:string,arg3:Record<string, any>):Promise<void>;
993
+
994
+ declare function ReadLog(arg1:string):Promise<string>;
995
+
996
+ declare function StartTail(arg1:string):Promise<void>;
997
+
998
+ declare function StopTail(arg1:string):Promise<void>;
999
+
1000
+ declare function Warn(arg1:string,arg2:Record<string, any>):Promise<void>;
1001
+
1002
+ declare const DiagnosticsClient_d_Debug: typeof Debug;
1003
+ declare const DiagnosticsClient_d_Error: typeof Error;
1004
+ declare const DiagnosticsClient_d_Info: typeof Info;
1005
+ declare const DiagnosticsClient_d_Log: typeof Log;
1006
+ declare const DiagnosticsClient_d_ReadLog: typeof ReadLog;
1007
+ declare const DiagnosticsClient_d_StartTail: typeof StartTail;
1008
+ declare const DiagnosticsClient_d_StopTail: typeof StopTail;
1009
+ declare const DiagnosticsClient_d_Warn: typeof Warn;
1010
+ declare namespace DiagnosticsClient_d {
1011
+ export { DiagnosticsClient_d_Debug as Debug, DiagnosticsClient_d_Error as Error, DiagnosticsClient_d_Info as Info, DiagnosticsClient_d_Log as Log, DiagnosticsClient_d_ReadLog as ReadLog, DiagnosticsClient_d_StartTail as StartTail, DiagnosticsClient_d_StopTail as StopTail, DiagnosticsClient_d_Warn as Warn };
1012
+ }
1013
+
1014
+ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
1015
+ // This file is automatically generated. DO NOT EDIT
1016
+
1017
+
1018
+ declare function AttachSession(arg1:string):Promise<exec.AttachSessionResult>;
1019
+
1020
+ declare function CloseSession$1(arg1:string):Promise<void>;
1021
+
1022
+ declare function CreateSession$1(arg1:string,arg2:string,arg3:exec.SessionOptions):Promise<exec.Session>;
1023
+
1024
+ declare function CreateTerminal(arg1:exec.CreateTerminalOptions):Promise<exec.Session>;
1025
+
1026
+ declare function DetachSession(arg1:string):Promise<exec.Session>;
1027
+
1028
+ declare function GetHandler(arg1:string,arg2:string):Promise<exec.Handler>;
1029
+
1030
+ declare function GetHandlers():Promise<Record<string, Record<string, exec.Handler>>>;
1031
+
1032
+ declare function GetPluginHandlers(arg1:string):Promise<Record<string, exec.Handler>>;
1033
+
1034
+ declare function GetSession$1(arg1:string):Promise<exec.Session>;
1035
+
1036
+ declare function ListPlugins$3():Promise<Array<string>>;
1037
+
1038
+ declare function ListSessions$1():Promise<Array<exec.Session>>;
1039
+
1040
+ declare function ResizeSession(arg1:string,arg2:number,arg3:number):Promise<void>;
1041
+
1042
+ declare function WriteSession(arg1:string,arg2:string):Promise<void>;
1043
+
1044
+ declare const Client_d$7_AttachSession: typeof AttachSession;
1045
+ declare const Client_d$7_CreateTerminal: typeof CreateTerminal;
1046
+ declare const Client_d$7_DetachSession: typeof DetachSession;
1047
+ declare const Client_d$7_GetHandler: typeof GetHandler;
1048
+ declare const Client_d$7_GetHandlers: typeof GetHandlers;
1049
+ declare const Client_d$7_GetPluginHandlers: typeof GetPluginHandlers;
1050
+ declare const Client_d$7_ResizeSession: typeof ResizeSession;
1051
+ declare const Client_d$7_WriteSession: typeof WriteSession;
1052
+ declare namespace Client_d$7 {
1053
+ export { Client_d$7_AttachSession as AttachSession, CloseSession$1 as CloseSession, CreateSession$1 as CreateSession, Client_d$7_CreateTerminal as CreateTerminal, Client_d$7_DetachSession as DetachSession, Client_d$7_GetHandler as GetHandler, Client_d$7_GetHandlers as GetHandlers, Client_d$7_GetPluginHandlers as GetPluginHandlers, GetSession$1 as GetSession, ListPlugins$3 as ListPlugins, ListSessions$1 as ListSessions, Client_d$7_ResizeSession as ResizeSession, Client_d$7_WriteSession as WriteSession };
1054
+ }
1055
+
1056
+ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
1057
+ // This file is automatically generated. DO NOT EDIT
1058
+
1059
+
1060
+ declare function CloseSession(arg1:string):Promise<void>;
1061
+
1062
+ declare function CreateSession(arg1:string,arg2:string,arg3:logs.CreateSessionOptions):Promise<logs.LogSession>;
1063
+
1064
+ declare function GetSession(arg1:string):Promise<logs.LogSession>;
1065
+
1066
+ declare function GetSupportedResources(arg1:string):Promise<Array<logs.Handler>>;
1067
+
1068
+ declare function ListSessions():Promise<Array<logs.LogSession>>;
1069
+
1070
+ declare function PauseSession(arg1:string):Promise<void>;
1071
+
1072
+ declare function ResumeSession(arg1:string):Promise<void>;
1073
+
1074
+ declare function UpdateSessionOptions(arg1:string,arg2:logs.LogSessionOptions):Promise<logs.LogSession>;
1075
+
1076
+ declare const Client_d$6_CloseSession: typeof CloseSession;
1077
+ declare const Client_d$6_CreateSession: typeof CreateSession;
1078
+ declare const Client_d$6_GetSession: typeof GetSession;
1079
+ declare const Client_d$6_GetSupportedResources: typeof GetSupportedResources;
1080
+ declare const Client_d$6_ListSessions: typeof ListSessions;
1081
+ declare const Client_d$6_PauseSession: typeof PauseSession;
1082
+ declare const Client_d$6_ResumeSession: typeof ResumeSession;
1083
+ declare const Client_d$6_UpdateSessionOptions: typeof UpdateSessionOptions;
1084
+ declare namespace Client_d$6 {
1085
+ export { Client_d$6_CloseSession as CloseSession, Client_d$6_CreateSession as CreateSession, Client_d$6_GetSession as GetSession, Client_d$6_GetSupportedResources as GetSupportedResources, Client_d$6_ListSessions as ListSessions, Client_d$6_PauseSession as PauseSession, Client_d$6_ResumeSession as ResumeSession, Client_d$6_UpdateSessionOptions as UpdateSessionOptions };
1086
+ }
1087
+
1088
+ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
1089
+ // This file is automatically generated. DO NOT EDIT
1090
+
1091
+
1092
+ declare function GetProviders():Promise<Array<metric.MetricProviderSummary>>;
1093
+
1094
+ declare function GetProvidersForResource(arg1:string):Promise<Array<metric.MetricProviderSummary>>;
1095
+
1096
+ declare function Query(arg1:string,arg2:string,arg3:metric.QueryRequest):Promise<metric.QueryResponse>;
1097
+
1098
+ declare function QueryAll(arg1:string,arg2:string,arg3:string,arg4:string,arg5:Record<string, any>,arg6:Array<string>,arg7:metric.MetricShape,arg8:time.Time,arg9:time.Time,arg10:time.Duration):Promise<Record<string, metric.QueryResponse>>;
1099
+
1100
+ declare function Subscribe(arg1:string,arg2:string,arg3:metric.SubscribeRequest):Promise<string>;
1101
+
1102
+ declare function Unsubscribe(arg1:string):Promise<void>;
1103
+
1104
+ declare const Client_d$5_GetProviders: typeof GetProviders;
1105
+ declare const Client_d$5_GetProvidersForResource: typeof GetProvidersForResource;
1106
+ declare const Client_d$5_Query: typeof Query;
1107
+ declare const Client_d$5_QueryAll: typeof QueryAll;
1108
+ declare const Client_d$5_Subscribe: typeof Subscribe;
1109
+ declare const Client_d$5_Unsubscribe: typeof Unsubscribe;
1110
+ declare namespace Client_d$5 {
1111
+ export { Client_d$5_GetProviders as GetProviders, Client_d$5_GetProvidersForResource as GetProvidersForResource, Client_d$5_Query as Query, Client_d$5_QueryAll as QueryAll, Client_d$5_Subscribe as Subscribe, Client_d$5_Unsubscribe as Unsubscribe };
1112
+ }
1113
+
1114
+ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
1115
+ // This file is automatically generated. DO NOT EDIT
1116
+
1117
+
1118
+ declare function ClosePortForwardSession(arg1:string):Promise<networker.PortForwardSession>;
1119
+
1120
+ declare function FindPortForwardSessions(arg1:string,arg2:string,arg3:networker.FindPortForwardSessionRequest):Promise<Array<networker.PortForwardSession>>;
1121
+
1122
+ declare function GetPortForwardSession(arg1:string):Promise<networker.PortForwardSession>;
1123
+
1124
+ declare function GetSupportedPortForwardTargets(arg1:string):Promise<Array<string>>;
1125
+
1126
+ declare function ListAllPortForwardSessions():Promise<Array<networker.PortForwardSession>>;
1127
+
1128
+ declare function ListPortForwardSessions(arg1:string,arg2:string):Promise<Array<networker.PortForwardSession>>;
1129
+
1130
+ declare function StartResourcePortForwardingSession(arg1:string,arg2:string,arg3:networker.PortForwardSessionOptions):Promise<networker.PortForwardSession>;
1131
+
1132
+ declare const Client_d$4_ClosePortForwardSession: typeof ClosePortForwardSession;
1133
+ declare const Client_d$4_FindPortForwardSessions: typeof FindPortForwardSessions;
1134
+ declare const Client_d$4_GetPortForwardSession: typeof GetPortForwardSession;
1135
+ declare const Client_d$4_GetSupportedPortForwardTargets: typeof GetSupportedPortForwardTargets;
1136
+ declare const Client_d$4_ListAllPortForwardSessions: typeof ListAllPortForwardSessions;
1137
+ declare const Client_d$4_ListPortForwardSessions: typeof ListPortForwardSessions;
1138
+ declare const Client_d$4_StartResourcePortForwardingSession: typeof StartResourcePortForwardingSession;
1139
+ declare namespace Client_d$4 {
1140
+ export { Client_d$4_ClosePortForwardSession as ClosePortForwardSession, Client_d$4_FindPortForwardSessions as FindPortForwardSessions, Client_d$4_GetPortForwardSession as GetPortForwardSession, Client_d$4_GetSupportedPortForwardTargets as GetSupportedPortForwardTargets, Client_d$4_ListAllPortForwardSessions as ListAllPortForwardSessions, Client_d$4_ListPortForwardSessions as ListPortForwardSessions, Client_d$4_StartResourcePortForwardingSession as StartResourcePortForwardingSession };
1141
+ }
1142
+
1143
+ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
1144
+ // This file is automatically generated. DO NOT EDIT
1145
+
1146
+
1147
+ declare function AddTarget(arg1:string):Promise<void>;
1148
+
1149
+ declare function GetPlugin(arg1:string):Promise<types.Plugin>;
1150
+
1151
+ declare function GetPluginDownloadStats(arg1:string):Promise<registry.DownloadStats>;
1152
+
1153
+ declare function GetPluginMeta(arg1:string):Promise<config.PluginMeta>;
1154
+
1155
+ declare function GetPluginReadme(arg1:string):Promise<string>;
1156
+
1157
+ declare function GetPluginReleaseHistory(arg1:string):Promise<Array<registry.VersionInfo>>;
1158
+
1159
+ declare function GetPluginReviews(arg1:string,arg2:number):Promise<Array<registry.Review>>;
1160
+
1161
+ declare function GetPluginVersions(arg1:string):Promise<Array<registry.VersionInfo>>;
1162
+
1163
+ declare function Initialize$1(arg1:context.Context):Promise<void>;
1164
+
1165
+ declare function InstallFromPathPrompt():Promise<config.PluginMeta>;
1166
+
1167
+ declare function InstallInDevMode():Promise<config.PluginMeta>;
1168
+
1169
+ declare function InstallPluginFromPath(arg1:string):Promise<config.PluginMeta>;
1170
+
1171
+ declare function InstallPluginVersion(arg1:string,arg2:string):Promise<config.PluginMeta>;
1172
+
1173
+ declare function ListAvailablePlugins():Promise<Array<registry.AvailablePlugin>>;
1174
+
1175
+ declare function ListPluginMetas():Promise<Array<config.PluginMeta>>;
1176
+
1177
+ declare function ListPlugins$2():Promise<Array<types.Plugin>>;
1178
+
1179
+ declare function LoadPlugin(arg1:string,arg2:plugin.LoadPluginOptions):Promise<types.Plugin>;
1180
+
1181
+ declare function ReloadPlugin(arg1:string):Promise<types.Plugin>;
1182
+
1183
+ declare function RemoveTarget(arg1:string):Promise<void>;
1184
+
1185
+ declare function Run(arg1:context.Context):Promise<void>;
1186
+
1187
+ declare function SearchPlugins(arg1:string,arg2:string,arg3:string):Promise<Array<registry.AvailablePlugin>>;
1188
+
1189
+ declare function SetDevServerChecker(arg1:plugin.DevServerChecker):Promise<void>;
1190
+
1191
+ declare function SetDevServerManager(arg1:devserver.DevServerManager):Promise<void>;
1192
+
1193
+ declare function Shutdown():Promise<void>;
1194
+
1195
+ declare function UninstallPlugin(arg1:string):Promise<types.Plugin>;
1196
+
1197
+ declare function UnloadPlugin(arg1:string):Promise<void>;
1198
+
1199
+ declare const pluginManager_d_AddTarget: typeof AddTarget;
1200
+ declare const pluginManager_d_GetPlugin: typeof GetPlugin;
1201
+ declare const pluginManager_d_GetPluginDownloadStats: typeof GetPluginDownloadStats;
1202
+ declare const pluginManager_d_GetPluginMeta: typeof GetPluginMeta;
1203
+ declare const pluginManager_d_GetPluginReadme: typeof GetPluginReadme;
1204
+ declare const pluginManager_d_GetPluginReleaseHistory: typeof GetPluginReleaseHistory;
1205
+ declare const pluginManager_d_GetPluginReviews: typeof GetPluginReviews;
1206
+ declare const pluginManager_d_GetPluginVersions: typeof GetPluginVersions;
1207
+ declare const pluginManager_d_InstallFromPathPrompt: typeof InstallFromPathPrompt;
1208
+ declare const pluginManager_d_InstallInDevMode: typeof InstallInDevMode;
1209
+ declare const pluginManager_d_InstallPluginFromPath: typeof InstallPluginFromPath;
1210
+ declare const pluginManager_d_InstallPluginVersion: typeof InstallPluginVersion;
1211
+ declare const pluginManager_d_ListAvailablePlugins: typeof ListAvailablePlugins;
1212
+ declare const pluginManager_d_ListPluginMetas: typeof ListPluginMetas;
1213
+ declare const pluginManager_d_LoadPlugin: typeof LoadPlugin;
1214
+ declare const pluginManager_d_ReloadPlugin: typeof ReloadPlugin;
1215
+ declare const pluginManager_d_RemoveTarget: typeof RemoveTarget;
1216
+ declare const pluginManager_d_Run: typeof Run;
1217
+ declare const pluginManager_d_SearchPlugins: typeof SearchPlugins;
1218
+ declare const pluginManager_d_SetDevServerChecker: typeof SetDevServerChecker;
1219
+ declare const pluginManager_d_SetDevServerManager: typeof SetDevServerManager;
1220
+ declare const pluginManager_d_Shutdown: typeof Shutdown;
1221
+ declare const pluginManager_d_UninstallPlugin: typeof UninstallPlugin;
1222
+ declare const pluginManager_d_UnloadPlugin: typeof UnloadPlugin;
1223
+ declare namespace pluginManager_d {
1224
+ export { pluginManager_d_AddTarget as AddTarget, pluginManager_d_GetPlugin as GetPlugin, pluginManager_d_GetPluginDownloadStats as GetPluginDownloadStats, pluginManager_d_GetPluginMeta as GetPluginMeta, pluginManager_d_GetPluginReadme as GetPluginReadme, pluginManager_d_GetPluginReleaseHistory as GetPluginReleaseHistory, pluginManager_d_GetPluginReviews as GetPluginReviews, pluginManager_d_GetPluginVersions as GetPluginVersions, Initialize$1 as Initialize, pluginManager_d_InstallFromPathPrompt as InstallFromPathPrompt, pluginManager_d_InstallInDevMode as InstallInDevMode, pluginManager_d_InstallPluginFromPath as InstallPluginFromPath, pluginManager_d_InstallPluginVersion as InstallPluginVersion, pluginManager_d_ListAvailablePlugins as ListAvailablePlugins, pluginManager_d_ListPluginMetas as ListPluginMetas, ListPlugins$2 as ListPlugins, pluginManager_d_LoadPlugin as LoadPlugin, pluginManager_d_ReloadPlugin as ReloadPlugin, pluginManager_d_RemoveTarget as RemoveTarget, pluginManager_d_Run as Run, pluginManager_d_SearchPlugins as SearchPlugins, pluginManager_d_SetDevServerChecker as SetDevServerChecker, pluginManager_d_SetDevServerManager as SetDevServerManager, pluginManager_d_Shutdown as Shutdown, pluginManager_d_UninstallPlugin as UninstallPlugin, pluginManager_d_UnloadPlugin as UnloadPlugin };
1225
+ }
1226
+
1227
+ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
1228
+ // This file is automatically generated. DO NOT EDIT
1229
+
1230
+
1231
+ declare function AddConnection(arg1:string,arg2:types.Connection):Promise<void>;
1232
+
1233
+ declare function Create(arg1:string,arg2:string,arg3:string,arg4:types.CreateInput):Promise<types.CreateResult>;
1234
+
1235
+ declare function Delete(arg1:string,arg2:string,arg3:string,arg4:types.DeleteInput):Promise<types.DeleteResult>;
1236
+
1237
+ declare function EnsureInformerForResource(arg1:string,arg2:string,arg3:string):Promise<void>;
1238
+
1239
+ declare function ExecuteAction(arg1:string,arg2:string,arg3:string,arg4:string,arg5:types.ActionInput):Promise<types.ActionResult>;
1240
+
1241
+ declare function Find(arg1:string,arg2:string,arg3:string,arg4:types.FindInput):Promise<types.FindResult>;
1242
+
1243
+ declare function Get(arg1:string,arg2:string,arg3:string,arg4:types.GetInput):Promise<types.GetResult>;
1244
+
1245
+ declare function GetActions(arg1:string,arg2:string,arg3:string):Promise<Array<types.ActionDescriptor>>;
1246
+
1247
+ declare function GetConnection(arg1:string,arg2:string):Promise<types.Connection>;
1248
+
1249
+ declare function GetConnectionNamespaces(arg1:string,arg2:string):Promise<Array<string>>;
1250
+
1251
+ declare function GetDefaultLayout(arg1:string):Promise<Array<types.LayoutItem>>;
1252
+
1253
+ declare function GetEditorSchemas(arg1:string,arg2:string):Promise<Array<types.EditorSchema>>;
1254
+
1255
+ declare function GetInformerState(arg1:string,arg2:string):Promise<types.InformerConnectionSummary>;
1256
+
1257
+ declare function GetLayout(arg1:string,arg2:string):Promise<Array<types.LayoutItem>>;
1258
+
1259
+ declare function GetResourceDefinition(arg1:string,arg2:string):Promise<types.ResourceDefinition>;
1260
+
1261
+ declare function GetResourceGroup(arg1:string,arg2:string):Promise<types.ResourceGroup>;
1262
+
1263
+ declare function GetResourceGroups(arg1:string,arg2:string):Promise<Record<string, types.ResourceGroup>>;
1264
+
1265
+ declare function GetResourceType(arg1:string,arg2:string):Promise<types.ResourceMeta>;
1266
+
1267
+ declare function GetResourceTypes(arg1:string,arg2:string):Promise<Record<string, types.ResourceMeta>>;
1268
+
1269
+ declare function HasResourceType(arg1:string,arg2:string):Promise<boolean>;
1270
+
1271
+ declare function List(arg1:string,arg2:string,arg3:string,arg4:types.ListInput):Promise<types.ListResult>;
1272
+
1273
+ declare function ListAllConnections():Promise<Record<string, Array<types.Connection>>>;
1274
+
1275
+ declare function ListConnections(arg1:string):Promise<Array<types.Connection>>;
1276
+
1277
+ declare function ListPlugins$1():Promise<Array<string>>;
1278
+
1279
+ declare function LoadConnections(arg1:string):Promise<Array<types.Connection>>;
1280
+
1281
+ declare function RemoveConnection(arg1:string,arg2:string):Promise<void>;
1282
+
1283
+ declare function SetLayout(arg1:string,arg2:string,arg3:Array<types.LayoutItem>):Promise<void>;
1284
+
1285
+ declare function StartConnection(arg1:string,arg2:string):Promise<types.ConnectionStatus>;
1286
+
1287
+ declare function StartConnectionInformer(arg1:string,arg2:string):Promise<void>;
1288
+
1289
+ declare function StopConnection(arg1:string,arg2:string):Promise<types.Connection>;
1290
+
1291
+ declare function StopConnectionInformer(arg1:string,arg2:string):Promise<void>;
1292
+
1293
+ declare function StreamAction(arg1:string,arg2:string,arg3:string,arg4:string,arg5:types.ActionInput):Promise<string>;
1294
+
1295
+ declare function Update(arg1:string,arg2:string,arg3:string,arg4:types.UpdateInput):Promise<types.UpdateResult>;
1296
+
1297
+ declare function UpdateConnection(arg1:string,arg2:types.Connection):Promise<types.Connection>;
1298
+
1299
+ declare const Client_d$3_AddConnection: typeof AddConnection;
1300
+ declare const Client_d$3_Create: typeof Create;
1301
+ declare const Client_d$3_Delete: typeof Delete;
1302
+ declare const Client_d$3_EnsureInformerForResource: typeof EnsureInformerForResource;
1303
+ declare const Client_d$3_ExecuteAction: typeof ExecuteAction;
1304
+ declare const Client_d$3_Find: typeof Find;
1305
+ declare const Client_d$3_Get: typeof Get;
1306
+ declare const Client_d$3_GetActions: typeof GetActions;
1307
+ declare const Client_d$3_GetConnection: typeof GetConnection;
1308
+ declare const Client_d$3_GetConnectionNamespaces: typeof GetConnectionNamespaces;
1309
+ declare const Client_d$3_GetDefaultLayout: typeof GetDefaultLayout;
1310
+ declare const Client_d$3_GetEditorSchemas: typeof GetEditorSchemas;
1311
+ declare const Client_d$3_GetInformerState: typeof GetInformerState;
1312
+ declare const Client_d$3_GetLayout: typeof GetLayout;
1313
+ declare const Client_d$3_GetResourceDefinition: typeof GetResourceDefinition;
1314
+ declare const Client_d$3_GetResourceGroup: typeof GetResourceGroup;
1315
+ declare const Client_d$3_GetResourceGroups: typeof GetResourceGroups;
1316
+ declare const Client_d$3_GetResourceType: typeof GetResourceType;
1317
+ declare const Client_d$3_GetResourceTypes: typeof GetResourceTypes;
1318
+ declare const Client_d$3_HasResourceType: typeof HasResourceType;
1319
+ declare const Client_d$3_List: typeof List;
1320
+ declare const Client_d$3_ListAllConnections: typeof ListAllConnections;
1321
+ declare const Client_d$3_ListConnections: typeof ListConnections;
1322
+ declare const Client_d$3_LoadConnections: typeof LoadConnections;
1323
+ declare const Client_d$3_RemoveConnection: typeof RemoveConnection;
1324
+ declare const Client_d$3_SetLayout: typeof SetLayout;
1325
+ declare const Client_d$3_StartConnection: typeof StartConnection;
1326
+ declare const Client_d$3_StartConnectionInformer: typeof StartConnectionInformer;
1327
+ declare const Client_d$3_StopConnection: typeof StopConnection;
1328
+ declare const Client_d$3_StopConnectionInformer: typeof StopConnectionInformer;
1329
+ declare const Client_d$3_StreamAction: typeof StreamAction;
1330
+ declare const Client_d$3_Update: typeof Update;
1331
+ declare const Client_d$3_UpdateConnection: typeof UpdateConnection;
1332
+ declare namespace Client_d$3 {
1333
+ export { Client_d$3_AddConnection as AddConnection, Client_d$3_Create as Create, Client_d$3_Delete as Delete, Client_d$3_EnsureInformerForResource as EnsureInformerForResource, Client_d$3_ExecuteAction as ExecuteAction, Client_d$3_Find as Find, Client_d$3_Get as Get, Client_d$3_GetActions as GetActions, Client_d$3_GetConnection as GetConnection, Client_d$3_GetConnectionNamespaces as GetConnectionNamespaces, Client_d$3_GetDefaultLayout as GetDefaultLayout, Client_d$3_GetEditorSchemas as GetEditorSchemas, Client_d$3_GetInformerState as GetInformerState, Client_d$3_GetLayout as GetLayout, Client_d$3_GetResourceDefinition as GetResourceDefinition, Client_d$3_GetResourceGroup as GetResourceGroup, Client_d$3_GetResourceGroups as GetResourceGroups, Client_d$3_GetResourceType as GetResourceType, Client_d$3_GetResourceTypes as GetResourceTypes, Client_d$3_HasResourceType as HasResourceType, Client_d$3_List as List, Client_d$3_ListAllConnections as ListAllConnections, Client_d$3_ListConnections as ListConnections, ListPlugins$1 as ListPlugins, Client_d$3_LoadConnections as LoadConnections, Client_d$3_RemoveConnection as RemoveConnection, Client_d$3_SetLayout as SetLayout, Client_d$3_StartConnection as StartConnection, Client_d$3_StartConnectionInformer as StartConnectionInformer, Client_d$3_StopConnection as StopConnection, Client_d$3_StopConnectionInformer as StopConnectionInformer, Client_d$3_StreamAction as StreamAction, Client_d$3_Update as Update, Client_d$3_UpdateConnection as UpdateConnection };
1334
+ }
1335
+
1336
+ /*
1337
+ _ __ _ __
1338
+ | | / /___ _(_) /____
1339
+ | | /| / / __ `/ / / ___/
1340
+ | |/ |/ / /_/ / / (__ )
1341
+ |__/|__/\__,_/_/_/____/
1342
+ The electron alternative for Go
1343
+ (c) Lea Anthony 2019-present
1344
+ */
1345
+
1346
+ interface Position {
1347
+ x: number;
1348
+ y: number;
1349
+ }
1350
+
1351
+ interface Size {
1352
+ w: number;
1353
+ h: number;
1354
+ }
1355
+
1356
+ interface Screen {
1357
+ isCurrent: boolean;
1358
+ isPrimary: boolean;
1359
+ width : number
1360
+ height : number
1361
+ }
1362
+
1363
+ // Environment information such as platform, buildtype, ...
1364
+ interface EnvironmentInfo {
1365
+ buildType: string;
1366
+ platform: string;
1367
+ arch: string;
1368
+ }
1369
+
1370
+ // [EventsEmit](https://wails.io/docs/reference/runtime/events#eventsemit)
1371
+ // emits the given event. Optional data may be passed with the event.
1372
+ // This will trigger any event listeners.
1373
+ declare function EventsEmit(eventName: string, ...data: any): void;
1374
+
1375
+ // [EventsOn](https://wails.io/docs/reference/runtime/events#eventson) sets up a listener for the given event name.
1376
+ declare function EventsOn(eventName: string, callback: (...data: any) => void): () => void;
1377
+
1378
+ // [EventsOnMultiple](https://wails.io/docs/reference/runtime/events#eventsonmultiple)
1379
+ // sets up a listener for the given event name, but will only trigger a given number times.
1380
+ declare function EventsOnMultiple(eventName: string, callback: (...data: any) => void, maxCallbacks: number): () => void;
1381
+
1382
+ // [EventsOnce](https://wails.io/docs/reference/runtime/events#eventsonce)
1383
+ // sets up a listener for the given event name, but will only trigger once.
1384
+ declare function EventsOnce(eventName: string, callback: (...data: any) => void): () => void;
1385
+
1386
+ // [EventsOff](https://wails.io/docs/reference/runtime/events#eventsoff)
1387
+ // unregisters the listener for the given event name.
1388
+ declare function EventsOff(eventName: string, ...additionalEventNames: string[]): void;
1389
+
1390
+ // [EventsOffAll](https://wails.io/docs/reference/runtime/events#eventsoffall)
1391
+ // unregisters all listeners.
1392
+ declare function EventsOffAll(): void;
1393
+
1394
+ // [LogPrint](https://wails.io/docs/reference/runtime/log#logprint)
1395
+ // logs the given message as a raw message
1396
+ declare function LogPrint(message: string): void;
1397
+
1398
+ // [LogTrace](https://wails.io/docs/reference/runtime/log#logtrace)
1399
+ // logs the given message at the `trace` log level.
1400
+ declare function LogTrace(message: string): void;
1401
+
1402
+ // [LogDebug](https://wails.io/docs/reference/runtime/log#logdebug)
1403
+ // logs the given message at the `debug` log level.
1404
+ declare function LogDebug(message: string): void;
1405
+
1406
+ // [LogError](https://wails.io/docs/reference/runtime/log#logerror)
1407
+ // logs the given message at the `error` log level.
1408
+ declare function LogError(message: string): void;
1409
+
1410
+ // [LogFatal](https://wails.io/docs/reference/runtime/log#logfatal)
1411
+ // logs the given message at the `fatal` log level.
1412
+ // The application will quit after calling this method.
1413
+ declare function LogFatal(message: string): void;
1414
+
1415
+ // [LogInfo](https://wails.io/docs/reference/runtime/log#loginfo)
1416
+ // logs the given message at the `info` log level.
1417
+ declare function LogInfo(message: string): void;
1418
+
1419
+ // [LogWarning](https://wails.io/docs/reference/runtime/log#logwarning)
1420
+ // logs the given message at the `warning` log level.
1421
+ declare function LogWarning(message: string): void;
1422
+
1423
+ // [WindowReload](https://wails.io/docs/reference/runtime/window#windowreload)
1424
+ // Forces a reload by the main application as well as connected browsers.
1425
+ declare function WindowReload(): void;
1426
+
1427
+ // [WindowReloadApp](https://wails.io/docs/reference/runtime/window#windowreloadapp)
1428
+ // Reloads the application frontend.
1429
+ declare function WindowReloadApp(): void;
1430
+
1431
+ // [WindowSetAlwaysOnTop](https://wails.io/docs/reference/runtime/window#windowsetalwaysontop)
1432
+ // Sets the window AlwaysOnTop or not on top.
1433
+ declare function WindowSetAlwaysOnTop(b: boolean): void;
1434
+
1435
+ // [WindowSetSystemDefaultTheme](https://wails.io/docs/next/reference/runtime/window#windowsetsystemdefaulttheme)
1436
+ // *Windows only*
1437
+ // Sets window theme to system default (dark/light).
1438
+ declare function WindowSetSystemDefaultTheme(): void;
1439
+
1440
+ // [WindowSetLightTheme](https://wails.io/docs/next/reference/runtime/window#windowsetlighttheme)
1441
+ // *Windows only*
1442
+ // Sets window to light theme.
1443
+ declare function WindowSetLightTheme(): void;
1444
+
1445
+ // [WindowSetDarkTheme](https://wails.io/docs/next/reference/runtime/window#windowsetdarktheme)
1446
+ // *Windows only*
1447
+ // Sets window to dark theme.
1448
+ declare function WindowSetDarkTheme(): void;
1449
+
1450
+ // [WindowCenter](https://wails.io/docs/reference/runtime/window#windowcenter)
1451
+ // Centers the window on the monitor the window is currently on.
1452
+ declare function WindowCenter(): void;
1453
+
1454
+ // [WindowSetTitle](https://wails.io/docs/reference/runtime/window#windowsettitle)
1455
+ // Sets the text in the window title bar.
1456
+ declare function WindowSetTitle(title: string): void;
1457
+
1458
+ // [WindowFullscreen](https://wails.io/docs/reference/runtime/window#windowfullscreen)
1459
+ // Makes the window full screen.
1460
+ declare function WindowFullscreen(): void;
1461
+
1462
+ // [WindowUnfullscreen](https://wails.io/docs/reference/runtime/window#windowunfullscreen)
1463
+ // Restores the previous window dimensions and position prior to full screen.
1464
+ declare function WindowUnfullscreen(): void;
1465
+
1466
+ // [WindowIsFullscreen](https://wails.io/docs/reference/runtime/window#windowisfullscreen)
1467
+ // Returns the state of the window, i.e. whether the window is in full screen mode or not.
1468
+ declare function WindowIsFullscreen(): Promise<boolean>;
1469
+
1470
+ // [WindowSetSize](https://wails.io/docs/reference/runtime/window#windowsetsize)
1471
+ // Sets the width and height of the window.
1472
+ declare function WindowSetSize(width: number, height: number): void;
1473
+
1474
+ // [WindowGetSize](https://wails.io/docs/reference/runtime/window#windowgetsize)
1475
+ // Gets the width and height of the window.
1476
+ declare function WindowGetSize(): Promise<Size>;
1477
+
1478
+ // [WindowSetMaxSize](https://wails.io/docs/reference/runtime/window#windowsetmaxsize)
1479
+ // Sets the maximum window size. Will resize the window if the window is currently larger than the given dimensions.
1480
+ // Setting a size of 0,0 will disable this constraint.
1481
+ declare function WindowSetMaxSize(width: number, height: number): void;
1482
+
1483
+ // [WindowSetMinSize](https://wails.io/docs/reference/runtime/window#windowsetminsize)
1484
+ // Sets the minimum window size. Will resize the window if the window is currently smaller than the given dimensions.
1485
+ // Setting a size of 0,0 will disable this constraint.
1486
+ declare function WindowSetMinSize(width: number, height: number): void;
1487
+
1488
+ // [WindowSetPosition](https://wails.io/docs/reference/runtime/window#windowsetposition)
1489
+ // Sets the window position relative to the monitor the window is currently on.
1490
+ declare function WindowSetPosition(x: number, y: number): void;
1491
+
1492
+ // [WindowGetPosition](https://wails.io/docs/reference/runtime/window#windowgetposition)
1493
+ // Gets the window position relative to the monitor the window is currently on.
1494
+ declare function WindowGetPosition(): Promise<Position>;
1495
+
1496
+ // [WindowHide](https://wails.io/docs/reference/runtime/window#windowhide)
1497
+ // Hides the window.
1498
+ declare function WindowHide(): void;
1499
+
1500
+ // [WindowShow](https://wails.io/docs/reference/runtime/window#windowshow)
1501
+ // Shows the window, if it is currently hidden.
1502
+ declare function WindowShow(): void;
1503
+
1504
+ // [WindowMaximise](https://wails.io/docs/reference/runtime/window#windowmaximise)
1505
+ // Maximises the window to fill the screen.
1506
+ declare function WindowMaximise(): void;
1507
+
1508
+ // [WindowToggleMaximise](https://wails.io/docs/reference/runtime/window#windowtogglemaximise)
1509
+ // Toggles between Maximised and UnMaximised.
1510
+ declare function WindowToggleMaximise(): void;
1511
+
1512
+ // [WindowUnmaximise](https://wails.io/docs/reference/runtime/window#windowunmaximise)
1513
+ // Restores the window to the dimensions and position prior to maximising.
1514
+ declare function WindowUnmaximise(): void;
1515
+
1516
+ // [WindowIsMaximised](https://wails.io/docs/reference/runtime/window#windowismaximised)
1517
+ // Returns the state of the window, i.e. whether the window is maximised or not.
1518
+ declare function WindowIsMaximised(): Promise<boolean>;
1519
+
1520
+ // [WindowMinimise](https://wails.io/docs/reference/runtime/window#windowminimise)
1521
+ // Minimises the window.
1522
+ declare function WindowMinimise(): void;
1523
+
1524
+ // [WindowUnminimise](https://wails.io/docs/reference/runtime/window#windowunminimise)
1525
+ // Restores the window to the dimensions and position prior to minimising.
1526
+ declare function WindowUnminimise(): void;
1527
+
1528
+ // [WindowIsMinimised](https://wails.io/docs/reference/runtime/window#windowisminimised)
1529
+ // Returns the state of the window, i.e. whether the window is minimised or not.
1530
+ declare function WindowIsMinimised(): Promise<boolean>;
1531
+
1532
+ // [WindowIsNormal](https://wails.io/docs/reference/runtime/window#windowisnormal)
1533
+ // Returns the state of the window, i.e. whether the window is normal or not.
1534
+ declare function WindowIsNormal(): Promise<boolean>;
1535
+
1536
+ // [WindowSetBackgroundColour](https://wails.io/docs/reference/runtime/window#windowsetbackgroundcolour)
1537
+ // Sets the background colour of the window to the given RGBA colour definition. This colour will show through for all transparent pixels.
1538
+ declare function WindowSetBackgroundColour(R: number, G: number, B: number, A: number): void;
1539
+
1540
+ // [ScreenGetAll](https://wails.io/docs/reference/runtime/window#screengetall)
1541
+ // Gets the all screens. Call this anew each time you want to refresh data from the underlying windowing system.
1542
+ declare function ScreenGetAll(): Promise<Screen[]>;
1543
+
1544
+ // [BrowserOpenURL](https://wails.io/docs/reference/runtime/browser#browseropenurl)
1545
+ // Opens the given URL in the system browser.
1546
+ declare function BrowserOpenURL(url: string): void;
1547
+
1548
+ // [Environment](https://wails.io/docs/reference/runtime/intro#environment)
1549
+ // Returns information about the environment
1550
+ declare function Environment(): Promise<EnvironmentInfo>;
1551
+
1552
+ // [Quit](https://wails.io/docs/reference/runtime/intro#quit)
1553
+ // Quits the application.
1554
+ declare function Quit(): void;
1555
+
1556
+ // [Hide](https://wails.io/docs/reference/runtime/intro#hide)
1557
+ // Hides the application.
1558
+ declare function Hide(): void;
1559
+
1560
+ // [Show](https://wails.io/docs/reference/runtime/intro#show)
1561
+ // Shows the application.
1562
+ declare function Show(): void;
1563
+
1564
+ // [ClipboardGetText](https://wails.io/docs/reference/runtime/clipboard#clipboardgettext)
1565
+ // Returns the current text stored on clipboard
1566
+ declare function ClipboardGetText(): Promise<string>;
1567
+
1568
+ // [ClipboardSetText](https://wails.io/docs/reference/runtime/clipboard#clipboardsettext)
1569
+ // Sets a text on the clipboard
1570
+ declare function ClipboardSetText(text: string): Promise<boolean>;
1571
+
1572
+ // [OnFileDrop](https://wails.io/docs/reference/runtime/draganddrop#onfiledrop)
1573
+ // OnFileDrop listens to drag and drop events and calls the callback with the coordinates of the drop and an array of path strings.
1574
+ declare function OnFileDrop(callback: (x: number, y: number ,paths: string[]) => void, useDropTarget: boolean) :void
1575
+
1576
+ // [OnFileDropOff](https://wails.io/docs/reference/runtime/draganddrop#dragandddropoff)
1577
+ // OnFileDropOff removes the drag and drop listeners and handlers.
1578
+ declare function OnFileDropOff() :void
1579
+
1580
+ // Check if the file path resolver is available
1581
+ declare function CanResolveFilePaths(): boolean;
1582
+
1583
+ // Resolves file paths for an array of files
1584
+ declare function ResolveFilePaths(files: File[]): void
1585
+
1586
+ declare const runtime_d_BrowserOpenURL: typeof BrowserOpenURL;
1587
+ declare const runtime_d_CanResolveFilePaths: typeof CanResolveFilePaths;
1588
+ declare const runtime_d_ClipboardGetText: typeof ClipboardGetText;
1589
+ declare const runtime_d_ClipboardSetText: typeof ClipboardSetText;
1590
+ declare const runtime_d_Environment: typeof Environment;
1591
+ type runtime_d_EnvironmentInfo = EnvironmentInfo;
1592
+ declare const runtime_d_EventsEmit: typeof EventsEmit;
1593
+ declare const runtime_d_EventsOff: typeof EventsOff;
1594
+ declare const runtime_d_EventsOffAll: typeof EventsOffAll;
1595
+ declare const runtime_d_EventsOn: typeof EventsOn;
1596
+ declare const runtime_d_EventsOnMultiple: typeof EventsOnMultiple;
1597
+ declare const runtime_d_EventsOnce: typeof EventsOnce;
1598
+ declare const runtime_d_Hide: typeof Hide;
1599
+ declare const runtime_d_LogDebug: typeof LogDebug;
1600
+ declare const runtime_d_LogError: typeof LogError;
1601
+ declare const runtime_d_LogFatal: typeof LogFatal;
1602
+ declare const runtime_d_LogInfo: typeof LogInfo;
1603
+ declare const runtime_d_LogPrint: typeof LogPrint;
1604
+ declare const runtime_d_LogTrace: typeof LogTrace;
1605
+ declare const runtime_d_LogWarning: typeof LogWarning;
1606
+ declare const runtime_d_OnFileDrop: typeof OnFileDrop;
1607
+ declare const runtime_d_OnFileDropOff: typeof OnFileDropOff;
1608
+ type runtime_d_Position = Position;
1609
+ declare const runtime_d_Quit: typeof Quit;
1610
+ declare const runtime_d_ResolveFilePaths: typeof ResolveFilePaths;
1611
+ type runtime_d_Screen = Screen;
1612
+ declare const runtime_d_ScreenGetAll: typeof ScreenGetAll;
1613
+ declare const runtime_d_Show: typeof Show;
1614
+ type runtime_d_Size = Size;
1615
+ declare const runtime_d_WindowCenter: typeof WindowCenter;
1616
+ declare const runtime_d_WindowFullscreen: typeof WindowFullscreen;
1617
+ declare const runtime_d_WindowGetPosition: typeof WindowGetPosition;
1618
+ declare const runtime_d_WindowGetSize: typeof WindowGetSize;
1619
+ declare const runtime_d_WindowHide: typeof WindowHide;
1620
+ declare const runtime_d_WindowIsFullscreen: typeof WindowIsFullscreen;
1621
+ declare const runtime_d_WindowIsMaximised: typeof WindowIsMaximised;
1622
+ declare const runtime_d_WindowIsMinimised: typeof WindowIsMinimised;
1623
+ declare const runtime_d_WindowIsNormal: typeof WindowIsNormal;
1624
+ declare const runtime_d_WindowMaximise: typeof WindowMaximise;
1625
+ declare const runtime_d_WindowMinimise: typeof WindowMinimise;
1626
+ declare const runtime_d_WindowReload: typeof WindowReload;
1627
+ declare const runtime_d_WindowReloadApp: typeof WindowReloadApp;
1628
+ declare const runtime_d_WindowSetAlwaysOnTop: typeof WindowSetAlwaysOnTop;
1629
+ declare const runtime_d_WindowSetBackgroundColour: typeof WindowSetBackgroundColour;
1630
+ declare const runtime_d_WindowSetDarkTheme: typeof WindowSetDarkTheme;
1631
+ declare const runtime_d_WindowSetLightTheme: typeof WindowSetLightTheme;
1632
+ declare const runtime_d_WindowSetMaxSize: typeof WindowSetMaxSize;
1633
+ declare const runtime_d_WindowSetMinSize: typeof WindowSetMinSize;
1634
+ declare const runtime_d_WindowSetPosition: typeof WindowSetPosition;
1635
+ declare const runtime_d_WindowSetSize: typeof WindowSetSize;
1636
+ declare const runtime_d_WindowSetSystemDefaultTheme: typeof WindowSetSystemDefaultTheme;
1637
+ declare const runtime_d_WindowSetTitle: typeof WindowSetTitle;
1638
+ declare const runtime_d_WindowShow: typeof WindowShow;
1639
+ declare const runtime_d_WindowToggleMaximise: typeof WindowToggleMaximise;
1640
+ declare const runtime_d_WindowUnfullscreen: typeof WindowUnfullscreen;
1641
+ declare const runtime_d_WindowUnmaximise: typeof WindowUnmaximise;
1642
+ declare const runtime_d_WindowUnminimise: typeof WindowUnminimise;
1643
+ declare namespace runtime_d {
1644
+ export { runtime_d_BrowserOpenURL as BrowserOpenURL, runtime_d_CanResolveFilePaths as CanResolveFilePaths, runtime_d_ClipboardGetText as ClipboardGetText, runtime_d_ClipboardSetText as ClipboardSetText, runtime_d_Environment as Environment, type runtime_d_EnvironmentInfo as EnvironmentInfo, runtime_d_EventsEmit as EventsEmit, runtime_d_EventsOff as EventsOff, runtime_d_EventsOffAll as EventsOffAll, runtime_d_EventsOn as EventsOn, runtime_d_EventsOnMultiple as EventsOnMultiple, runtime_d_EventsOnce as EventsOnce, runtime_d_Hide as Hide, runtime_d_LogDebug as LogDebug, runtime_d_LogError as LogError, runtime_d_LogFatal as LogFatal, runtime_d_LogInfo as LogInfo, runtime_d_LogPrint as LogPrint, runtime_d_LogTrace as LogTrace, runtime_d_LogWarning as LogWarning, runtime_d_OnFileDrop as OnFileDrop, runtime_d_OnFileDropOff as OnFileDropOff, type runtime_d_Position as Position, runtime_d_Quit as Quit, runtime_d_ResolveFilePaths as ResolveFilePaths, type runtime_d_Screen as Screen, runtime_d_ScreenGetAll as ScreenGetAll, runtime_d_Show as Show, type runtime_d_Size as Size, runtime_d_WindowCenter as WindowCenter, runtime_d_WindowFullscreen as WindowFullscreen, runtime_d_WindowGetPosition as WindowGetPosition, runtime_d_WindowGetSize as WindowGetSize, runtime_d_WindowHide as WindowHide, runtime_d_WindowIsFullscreen as WindowIsFullscreen, runtime_d_WindowIsMaximised as WindowIsMaximised, runtime_d_WindowIsMinimised as WindowIsMinimised, runtime_d_WindowIsNormal as WindowIsNormal, runtime_d_WindowMaximise as WindowMaximise, runtime_d_WindowMinimise as WindowMinimise, runtime_d_WindowReload as WindowReload, runtime_d_WindowReloadApp as WindowReloadApp, runtime_d_WindowSetAlwaysOnTop as WindowSetAlwaysOnTop, runtime_d_WindowSetBackgroundColour as WindowSetBackgroundColour, runtime_d_WindowSetDarkTheme as WindowSetDarkTheme, runtime_d_WindowSetLightTheme as WindowSetLightTheme, runtime_d_WindowSetMaxSize as WindowSetMaxSize, runtime_d_WindowSetMinSize as WindowSetMinSize, runtime_d_WindowSetPosition as WindowSetPosition, runtime_d_WindowSetSize as WindowSetSize, runtime_d_WindowSetSystemDefaultTheme as WindowSetSystemDefaultTheme, runtime_d_WindowSetTitle as WindowSetTitle, runtime_d_WindowShow as WindowShow, runtime_d_WindowToggleMaximise as WindowToggleMaximise, runtime_d_WindowUnfullscreen as WindowUnfullscreen, runtime_d_WindowUnmaximise as WindowUnmaximise, runtime_d_WindowUnminimise as WindowUnminimise };
1645
+ }
1646
+
1647
+ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
1648
+ // This file is automatically generated. DO NOT EDIT
1649
+
1650
+
1651
+ declare function GetSetting$1(arg1:string,arg2:string):Promise<settings.Setting>;
1652
+
1653
+ declare function ListPlugins():Promise<Array<string>>;
1654
+
1655
+ declare function ListSettings$1(arg1:string):Promise<Record<string, settings.Setting>>;
1656
+
1657
+ declare function PluginValues(arg1:string):Promise<Record<string, any>>;
1658
+
1659
+ declare function SetSetting$1(arg1:string,arg2:string,arg3:any):Promise<void>;
1660
+
1661
+ declare function SetSettings$1(arg1:string,arg2:Record<string, any>):Promise<void>;
1662
+
1663
+ declare function Values$1():Promise<Record<string, any>>;
1664
+
1665
+ declare const Client_d$2_ListPlugins: typeof ListPlugins;
1666
+ declare const Client_d$2_PluginValues: typeof PluginValues;
1667
+ declare namespace Client_d$2 {
1668
+ export { GetSetting$1 as GetSetting, Client_d$2_ListPlugins as ListPlugins, ListSettings$1 as ListSettings, Client_d$2_PluginValues as PluginValues, SetSetting$1 as SetSetting, SetSettings$1 as SetSettings, Values$1 as Values };
1669
+ }
1670
+
1671
+ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
1672
+ // This file is automatically generated. DO NOT EDIT
1673
+
1674
+
1675
+ declare function GetBool(arg1:string):Promise<boolean>;
1676
+
1677
+ declare function GetCategories():Promise<Array<settings.Category>>;
1678
+
1679
+ declare function GetCategory(arg1:string):Promise<settings.Category>;
1680
+
1681
+ declare function GetCategoryValues(arg1:string):Promise<Record<string, any>>;
1682
+
1683
+ declare function GetFloat(arg1:string):Promise<number>;
1684
+
1685
+ declare function GetFloatSlice(arg1:string):Promise<Array<number>>;
1686
+
1687
+ declare function GetInt(arg1:string):Promise<number>;
1688
+
1689
+ declare function GetIntSlice(arg1:string):Promise<Array<number>>;
1690
+
1691
+ declare function GetSetting(arg1:string):Promise<settings.Setting>;
1692
+
1693
+ declare function GetSettingValue(arg1:string):Promise<any>;
1694
+
1695
+ declare function GetString(arg1:string):Promise<string>;
1696
+
1697
+ declare function GetStringSlice(arg1:string):Promise<Array<string>>;
1698
+
1699
+ declare function HasSetting(arg1:string):Promise<boolean>;
1700
+
1701
+ declare function Initialize(arg1:context.Context,arg2:Array<settings.Category>):Promise<void>;
1702
+
1703
+ declare function ListSettings():Promise<settings.Store>;
1704
+
1705
+ declare function LoadSettings():Promise<void>;
1706
+
1707
+ declare function RegisterSetting(arg1:string,arg2:settings.Setting):Promise<void>;
1708
+
1709
+ declare function RegisterSettings(arg1:string,arg2:Array<settings.Setting>):Promise<void>;
1710
+
1711
+ declare function ResetSetting(arg1:string):Promise<void>;
1712
+
1713
+ declare function SaveSettings():Promise<void>;
1714
+
1715
+ declare function SetSetting(arg1:string,arg2:any):Promise<void>;
1716
+
1717
+ declare function SetSettings(arg1:Record<string, any>):Promise<void>;
1718
+
1719
+ declare function Values():Promise<Record<string, any>>;
1720
+
1721
+ declare const provider_d_GetBool: typeof GetBool;
1722
+ declare const provider_d_GetCategories: typeof GetCategories;
1723
+ declare const provider_d_GetCategory: typeof GetCategory;
1724
+ declare const provider_d_GetCategoryValues: typeof GetCategoryValues;
1725
+ declare const provider_d_GetFloat: typeof GetFloat;
1726
+ declare const provider_d_GetFloatSlice: typeof GetFloatSlice;
1727
+ declare const provider_d_GetInt: typeof GetInt;
1728
+ declare const provider_d_GetIntSlice: typeof GetIntSlice;
1729
+ declare const provider_d_GetSetting: typeof GetSetting;
1730
+ declare const provider_d_GetSettingValue: typeof GetSettingValue;
1731
+ declare const provider_d_GetString: typeof GetString;
1732
+ declare const provider_d_GetStringSlice: typeof GetStringSlice;
1733
+ declare const provider_d_HasSetting: typeof HasSetting;
1734
+ declare const provider_d_Initialize: typeof Initialize;
1735
+ declare const provider_d_ListSettings: typeof ListSettings;
1736
+ declare const provider_d_LoadSettings: typeof LoadSettings;
1737
+ declare const provider_d_RegisterSetting: typeof RegisterSetting;
1738
+ declare const provider_d_RegisterSettings: typeof RegisterSettings;
1739
+ declare const provider_d_ResetSetting: typeof ResetSetting;
1740
+ declare const provider_d_SaveSettings: typeof SaveSettings;
1741
+ declare const provider_d_SetSetting: typeof SetSetting;
1742
+ declare const provider_d_SetSettings: typeof SetSettings;
1743
+ declare const provider_d_Values: typeof Values;
1744
+ declare namespace provider_d {
1745
+ export { provider_d_GetBool as GetBool, provider_d_GetCategories as GetCategories, provider_d_GetCategory as GetCategory, provider_d_GetCategoryValues as GetCategoryValues, provider_d_GetFloat as GetFloat, provider_d_GetFloatSlice as GetFloatSlice, provider_d_GetInt as GetInt, provider_d_GetIntSlice as GetIntSlice, provider_d_GetSetting as GetSetting, provider_d_GetSettingValue as GetSettingValue, provider_d_GetString as GetString, provider_d_GetStringSlice as GetStringSlice, provider_d_HasSetting as HasSetting, provider_d_Initialize as Initialize, provider_d_ListSettings as ListSettings, provider_d_LoadSettings as LoadSettings, provider_d_RegisterSetting as RegisterSetting, provider_d_RegisterSettings as RegisterSettings, provider_d_ResetSetting as ResetSetting, provider_d_SaveSettings as SaveSettings, provider_d_SetSetting as SetSetting, provider_d_SetSettings as SetSettings, provider_d_Values as Values };
1746
+ }
1747
+
1748
+ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
1749
+ // This file is automatically generated. DO NOT EDIT
1750
+
1751
+
1752
+ declare function Scan(arg1:trivy.Command,arg2:string,arg3:trivy.ScanOptions):Promise<trivy.ScanResult>;
1753
+
1754
+ declare const Manager_d_Scan: typeof Scan;
1755
+ declare namespace Manager_d {
1756
+ export { Manager_d_Scan as Scan };
1757
+ }
1758
+
1759
+ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
1760
+ // This file is automatically generated. DO NOT EDIT
1761
+
1762
+
1763
+ declare function GetPluginComponents(arg1:ui.GetPluginComponentsInput):Promise<Record<string, Array<ui.ResourceComponent>>>;
1764
+
1765
+ declare function GetResourceAreaComponent(arg1:ui.GetResourceAreaComponentInput):Promise<ui.ResourceComponent>;
1766
+
1767
+ declare function GetResourceComponents(arg1:ui.GetResourceComponentsInput):Promise<Array<ui.ResourceComponent>>;
1768
+
1769
+ declare const Client_d$1_GetPluginComponents: typeof GetPluginComponents;
1770
+ declare const Client_d$1_GetResourceAreaComponent: typeof GetResourceAreaComponent;
1771
+ declare const Client_d$1_GetResourceComponents: typeof GetResourceComponents;
1772
+ declare namespace Client_d$1 {
1773
+ export { Client_d$1_GetPluginComponents as GetPluginComponents, Client_d$1_GetResourceAreaComponent as GetResourceAreaComponent, Client_d$1_GetResourceComponents as GetResourceComponents };
1774
+ }
1775
+
1776
+ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
1777
+ // This file is automatically generated. DO NOT EDIT
1778
+
1779
+
1780
+ declare function DetectLanguage(arg1:utils.GetLanguageInput):Promise<string>;
1781
+
1782
+ declare const Client_d_DetectLanguage: typeof DetectLanguage;
1783
+ declare namespace Client_d {
1784
+ export { Client_d_DetectLanguage as DetectLanguage };
1785
+ }
1786
+
1787
+ type PortForwardContextObject = Record<string, unknown>;
1788
+ declare const PortForwardContext: React.Context<PortForwardContextObject | undefined>;
1789
+
1790
+ type PortForwardResourceOpts = {
1791
+ /**
1792
+ * The resource key identifier.
1793
+ * For example, the Kubernetes plugin supports the following resource keys:
1794
+ * - 'core::v1::Pod'
1795
+ */
1796
+ resourceKey: string;
1797
+ /**
1798
+ * The resource ID
1799
+ */
1800
+ resourceId: string;
1801
+ /**
1802
+ * The resource data object
1803
+ */
1804
+ resource: any;
1805
+ /**
1806
+ * The port to forward on the resource
1807
+ * @example 8080
1808
+ */
1809
+ fromPort: number;
1810
+ /**
1811
+ * The port on the host to forward to. If none is provided, a random port will be assigned.
1812
+ * Note: If specifying, it is highly advised to use a port in the range 30000-32767
1813
+ * @example 31234
1814
+ */
1815
+ toPort?: number;
1816
+ /**
1817
+ * The protocol to forward. Default is TCP.
1818
+ */
1819
+ protocol?: 'TCP' | 'UDP';
1820
+ /**
1821
+ * Parameters to pass to the resource to configure the port forward.
1822
+ */
1823
+ parameters?: Record<string, string>;
1824
+ /**
1825
+ * Whether to open the forwarded port in the default browser. Default is false.
1826
+ */
1827
+ openInBrowser?: boolean;
1828
+ /**
1829
+ * Optional labels to apply to the port forward session.
1830
+ */
1831
+ labels?: Record<string, string>;
1832
+ };
1833
+ type PortForwardResourceFunction = (opts: PortForwardResourceOpts) => Promise<networker.PortForwardSession>;
1834
+ type ResourcePortForwarder = {
1835
+ sessions: networker.PortForwardSession[];
1836
+ forward: PortForwardResourceFunction;
1837
+ close: (sessionId: string) => Promise<void>;
1838
+ };
1839
+ /**
1840
+ * Programatically forward a port from a resource object to the host.
1841
+ */
1842
+ declare function useResourcePortForwarder({ pluginID, connectionID, resourceID }: {
1843
+ pluginID: string;
1844
+ connectionID: string;
1845
+ resourceID: string;
1846
+ }): ResourcePortForwarder;
1847
+
1848
+ export { PortForwardContext, type PortForwardContextObject, type PortForwardResourceFunction, type PortForwardResourceOpts, type ResourcePortForwarder, App_d as app, config, context, Client_d$8 as data, DevServerManager_d as devserver, DiagnosticsClient_d as diagnostics, Client_d$7 as exec, Client_d$6 as logs, main, Client_d$5 as metric, Client_d$4 as networker, plugin, pluginManager_d as pluginManager, registry, Client_d$3 as resource, runtime_d as runtime, Client_d$2 as settings, provider_d as settingsProvider, time, Manager_d as trivy, types, Client_d$1 as ui, useResourcePortForwarder, Client_d as utils };