directix 1.10.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -7,6 +7,11 @@ import { Ref } from 'vue';
7
7
  import { ShallowRef } from 'vue';
8
8
  import { VNode } from 'vue';
9
9
 
10
+ /**
11
+ * Acknowledge alert
12
+ */
13
+ export declare function acknowledgeAlert(alertId: string, acknowledgedBy: string): boolean;
14
+
10
15
  /**
11
16
  * Add cleanup function to element
12
17
  */
@@ -17,6 +22,11 @@ export declare function addCleanupVue2(el: Element, fn: () => void): void;
17
22
  */
18
23
  export declare function addCleanupVue3(el: Element, fn: () => void): void;
19
24
 
25
+ /**
26
+ * Add health check
27
+ */
28
+ export declare function addHealthCheck(check: HealthCheck): void;
29
+
20
30
  /**
21
31
  * Add non-passive event listener (for events that need preventDefault)
22
32
  */
@@ -27,6 +37,49 @@ export declare function addNonPassiveListener(element: EventTarget, event: strin
27
37
  */
28
38
  export declare function addPassiveListener(element: EventTarget, event: string, handler: EventListener, options?: AddEventListenerOptions): () => void;
29
39
 
40
+ export declare interface Alert {
41
+ id: string;
42
+ ruleId: string;
43
+ name: string;
44
+ severity: AlertSeverity;
45
+ status: AlertStatus;
46
+ message: string;
47
+ labels: Record<string, string>;
48
+ value: number;
49
+ threshold: number;
50
+ startedAt: number;
51
+ resolvedAt?: number;
52
+ acknowledgedAt?: number;
53
+ acknowledgedBy?: string;
54
+ }
55
+
56
+ export declare interface AlertChannel {
57
+ type: 'webhook' | 'email' | 'slack' | 'pagerduty' | 'custom';
58
+ name: string;
59
+ config: Record<string, any>;
60
+ severity: AlertSeverity[];
61
+ }
62
+
63
+ export declare interface AlertRule {
64
+ id: string;
65
+ name: string;
66
+ description: string;
67
+ condition: string;
68
+ severity: AlertSeverity;
69
+ duration: number;
70
+ labels: Record<string, string>;
71
+ annotations: Record<string, string>;
72
+ enabled: boolean;
73
+ }
74
+
75
+ /**
76
+ * Monitoring and Alerting Integration Module for Directix
77
+ * Provides real-time monitoring, metrics collection, and alerting capabilities
78
+ */
79
+ export declare type AlertSeverity = 'info' | 'warning' | 'error' | 'critical';
80
+
81
+ export declare type AlertStatus = 'active' | 'resolved' | 'acknowledged';
82
+
30
83
  /**
31
84
  * Announce a message to screen readers
32
85
  */
@@ -135,6 +188,105 @@ export declare function assertRange(value: number, min: number, max: number, dir
135
188
  declare function assertType_2<T>(value: unknown, type: 'string' | 'number' | 'boolean' | 'object' | 'function' | 'symbol' | 'bigint' | 'undefined', directive: string, param: string): asserts value is T;
136
189
  export { assertType_2 as assertType }
137
190
 
191
+ /**
192
+ * Convenience logging methods
193
+ */
194
+ export declare const audit: {
195
+ debug: (type: AuditEventType, message: string, details?: Record<string, unknown>, context?: Partial<AuditContext>) => AuditLogEntry | null;
196
+ info: (type: AuditEventType, message: string, details?: Record<string, unknown>, context?: Partial<AuditContext>) => AuditLogEntry | null;
197
+ warn: (type: AuditEventType, message: string, details?: Record<string, unknown>, context?: Partial<AuditContext>) => AuditLogEntry | null;
198
+ error: (type: AuditEventType, message: string, details?: Record<string, unknown>, context?: Partial<AuditContext>) => AuditLogEntry | null;
199
+ critical: (type: AuditEventType, message: string, details?: Record<string, unknown>, context?: Partial<AuditContext>) => AuditLogEntry | null;
200
+ };
201
+
202
+ export declare interface AuditContext {
203
+ directive?: string;
204
+ component?: string;
205
+ file?: string;
206
+ line?: number;
207
+ userAgent?: string;
208
+ url?: string;
209
+ sessionId?: string;
210
+ userId?: string;
211
+ environment?: string;
212
+ version?: string;
213
+ [key: string]: unknown;
214
+ }
215
+
216
+ export declare type AuditEventType = 'directive.mount' | 'directive.update' | 'directive.unmount' | 'permission.check' | 'permission.grant' | 'permission.deny' | 'security.violation' | 'performance.slow' | 'compatibility.warning' | 'migration.detected' | 'config.change' | 'error.caught' | 'user.action';
217
+
218
+ export declare interface AuditLogConfig {
219
+ enabled: boolean;
220
+ level: AuditLogLevel;
221
+ maxEntries: number;
222
+ persistToStorage: boolean;
223
+ storageKey: string;
224
+ consoleOutput: boolean;
225
+ consoleLevel: AuditLogLevel;
226
+ includeStackTrace: boolean;
227
+ sampleRate: number;
228
+ filters: {
229
+ excludeTypes?: AuditEventType[];
230
+ excludeLevels?: AuditLogLevel[];
231
+ minDuration?: number;
232
+ };
233
+ handlers: {
234
+ onLog?: (entry: AuditLogEntry) => void;
235
+ onError?: (entry: AuditLogEntry) => void;
236
+ onCritical?: (entry: AuditLogEntry) => void;
237
+ };
238
+ sensitiveFields: string[];
239
+ maskSensitive: boolean;
240
+ }
241
+
242
+ export declare interface AuditLogEntry {
243
+ id: string;
244
+ timestamp: number;
245
+ level: AuditLogLevel;
246
+ type: AuditEventType;
247
+ message: string;
248
+ details: Record<string, unknown>;
249
+ context: AuditContext;
250
+ duration?: number;
251
+ stackTrace?: string;
252
+ }
253
+
254
+ export declare interface AuditLogExportOptions {
255
+ format: 'json' | 'csv' | 'markdown' | 'html';
256
+ includeDetails: boolean;
257
+ includeContext: boolean;
258
+ dateFormat: 'iso' | 'unix' | 'locale';
259
+ }
260
+
261
+ export declare interface AuditLogFilter {
262
+ level?: AuditLogLevel | AuditLogLevel[];
263
+ type?: AuditEventType | AuditEventType[];
264
+ since?: number;
265
+ until?: number;
266
+ directive?: string | string[];
267
+ component?: string | string[];
268
+ limit?: number;
269
+ offset?: number;
270
+ }
271
+
272
+ /**
273
+ * Comprehensive Audit Logging System for Directix
274
+ * Provides detailed logging for directive operations, permission checks, and security events
275
+ */
276
+ export declare type AuditLogLevel = 'debug' | 'info' | 'warn' | 'error' | 'critical';
277
+
278
+ export declare interface AuditLogStats {
279
+ totalEntries: number;
280
+ byLevel: Record<AuditLogLevel, number>;
281
+ byType: Record<AuditEventType, number>;
282
+ byDirective: Record<string, number>;
283
+ avgDuration: number;
284
+ errorRate: number;
285
+ criticalCount: number;
286
+ last24Hours: number;
287
+ lastHour: number;
288
+ }
289
+
138
290
  /**
139
291
  * Auto-generate ARIA attributes based on directive type
140
292
  */
@@ -151,6 +303,214 @@ export declare interface AutoAriaOptions {
151
303
  relatedId?: string;
152
304
  }
153
305
 
306
+ /**
307
+ * Simple benchmark decorator
308
+ */
309
+ export declare function benchmark(name?: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
310
+
311
+ export declare interface BenchmarkComparison {
312
+ baseline: BenchmarkResult;
313
+ current: BenchmarkResult;
314
+ improvement: number;
315
+ significant: boolean;
316
+ regression: boolean;
317
+ }
318
+
319
+ /**
320
+ * Performance Benchmark Module for Directix
321
+ * Provides utilities for measuring and comparing directive performance
322
+ */
323
+ export declare interface BenchmarkConfig {
324
+ iterations: number;
325
+ warmupIterations: number;
326
+ samples: number;
327
+ timeout: number;
328
+ gc: boolean;
329
+ verbose: boolean;
330
+ }
331
+
332
+ export declare type BenchmarkFunction = () => void | Promise<void>;
333
+
334
+ export declare interface BenchmarkResult {
335
+ name: string;
336
+ iterations: number;
337
+ samples: number;
338
+ mean: number;
339
+ median: number;
340
+ min: number;
341
+ max: number;
342
+ stdDev: number;
343
+ percentiles: {
344
+ p50: number;
345
+ p75: number;
346
+ p90: number;
347
+ p95: number;
348
+ p99: number;
349
+ };
350
+ opsPerSecond: number;
351
+ marginOfError: number;
352
+ timestamp: number;
353
+ }
354
+
355
+ export declare interface BenchmarkSuite {
356
+ name: string;
357
+ benchmarks: BenchmarkResult[];
358
+ summary: {
359
+ totalTime: number;
360
+ averageTime: number;
361
+ fastest: string;
362
+ slowest: string;
363
+ };
364
+ timestamp: number;
365
+ }
366
+
367
+ export declare const BREAKING_CHANGES_REGISTRY: BreakingChangeDefinition[];
368
+
369
+ /**
370
+ * Breaking change information
371
+ */
372
+ export declare interface BreakingChange {
373
+ type: 'api' | 'behavior' | 'signature' | 'option';
374
+ name: string;
375
+ location: string;
376
+ line: number;
377
+ description: string;
378
+ migration: string;
379
+ }
380
+
381
+ export declare type BreakingChangeCategory = 'api' | 'behavior' | 'config' | 'type' | 'directive';
382
+
383
+ export declare interface BreakingChangeDefinition {
384
+ id: string;
385
+ version: string;
386
+ description: string;
387
+ severity: ChangeSeverity;
388
+ status: ChangeStatus;
389
+ category: BreakingChangeCategory;
390
+ affectedAPIs: string[];
391
+ migrationGuide: string;
392
+ detectionPattern?: RegExp;
393
+ autoFixable: boolean;
394
+ deprecatedIn?: string;
395
+ removedIn?: string;
396
+ alternatives?: string[];
397
+ examples?: {
398
+ before: string;
399
+ after: string;
400
+ };
401
+ }
402
+
403
+ export declare interface BreakingChangeDetection {
404
+ changeId: string;
405
+ location: {
406
+ file?: string;
407
+ line?: number;
408
+ column?: number;
409
+ snippet?: string;
410
+ };
411
+ matchedPattern: string;
412
+ severity: ChangeSeverity;
413
+ suggestion: string;
414
+ }
415
+
416
+ export declare interface BreakingChangesConfig {
417
+ enabled: boolean;
418
+ targetVersion: string;
419
+ warnLevel: 'none' | 'low' | 'medium' | 'high' | 'all';
420
+ consoleOutput: boolean;
421
+ throwOnCritical: boolean;
422
+ customHandlers: {
423
+ onDetected?: (detection: BreakingChangeDetection) => void;
424
+ onWarning?: (change: BreakingChangeDefinition) => void;
425
+ onCritical?: (change: BreakingChangeDefinition) => void;
426
+ };
427
+ }
428
+
429
+ export declare interface BreakingChangesReport {
430
+ targetVersion: string;
431
+ generatedAt: number;
432
+ totalChanges: number;
433
+ bySeverity: Record<ChangeSeverity, number>;
434
+ byCategory: Record<BreakingChangeCategory, number>;
435
+ byStatus: Record<ChangeStatus, number>;
436
+ changes: BreakingChangeDefinition[];
437
+ detections: BreakingChangeDetection[];
438
+ readyForMigration: boolean;
439
+ migrationEffort: 'low' | 'medium' | 'high' | 'critical';
440
+ recommendations: string[];
441
+ }
442
+
443
+ export declare const BROWSER_TARGETS: MatrixBrowserTarget[];
444
+
445
+ /**
446
+ * Compatibility configuration
447
+ */
448
+ export declare interface BrowserCompatibilityConfig {
449
+ targets: BrowserTarget;
450
+ fallback: FallbackConfig;
451
+ polyfill: PolyfillStrategy;
452
+ warnOnUnsupported: boolean;
453
+ strictMode: boolean;
454
+ }
455
+
456
+ /**
457
+ * Browser feature support status
458
+ */
459
+ export declare interface BrowserFeatures {
460
+ passive: boolean;
461
+ intersectionObserver: boolean;
462
+ resizeObserver: boolean;
463
+ mutationObserver: boolean;
464
+ clipboard: boolean;
465
+ clipboardItem: boolean;
466
+ clipboardWrite: boolean;
467
+ clipboardRead: boolean;
468
+ pointerEvents: boolean;
469
+ touchEvents: boolean;
470
+ webAnimations: boolean;
471
+ customElements: boolean;
472
+ shadowDom: boolean;
473
+ cssVariables: boolean;
474
+ cssGrid: boolean;
475
+ cssFlexbox: boolean;
476
+ es2020: boolean;
477
+ es2021: boolean;
478
+ es2022: boolean;
479
+ }
480
+
481
+ /**
482
+ * Browser version info
483
+ */
484
+ export declare interface BrowserInfo {
485
+ type: BrowserType;
486
+ version: string;
487
+ major: number;
488
+ platform: PlatformType;
489
+ os: string;
490
+ supportLevel: SupportLevel;
491
+ features: BrowserFeatures;
492
+ }
493
+
494
+ /**
495
+ * Browser target configuration
496
+ */
497
+ export declare interface BrowserTarget {
498
+ chrome?: string;
499
+ firefox?: string;
500
+ safari?: string;
501
+ edge?: string;
502
+ samsung?: string;
503
+ }
504
+
505
+ /**
506
+ * Browser compatibility module for Directix
507
+ * Provides browser detection, polyfill management, and fallback strategies
508
+ */
509
+ /**
510
+ * Browser type
511
+ */
512
+ declare type BrowserType = 'chrome' | 'firefox' | 'safari' | 'edge' | 'opera' | 'samsung' | 'uc' | 'wechat' | 'unknown';
513
+
154
514
  /**
155
515
  * Calculate statistics from metrics
156
516
  */
@@ -161,6 +521,17 @@ export declare function calculateStats(metrics: PerformanceMetric[]): Performanc
161
521
  */
162
522
  export declare function calculateTime(remaining: number): CountdownTime;
163
523
 
524
+ /**
525
+ * Calculate Time to Interactive estimate
526
+ */
527
+ export declare function calculateTTI(): number | undefined;
528
+
529
+ /**
530
+ * Cancel idle callback
531
+ */
532
+ declare function cancelIdleCallback_2(id: number): void;
533
+ export { cancelIdleCallback_2 as cancelIdleCallback }
534
+
164
535
  /**
165
536
  * Capitalize text based on options
166
537
  */
@@ -174,6 +545,34 @@ export declare function capitalizeText(text: string, options?: {
174
545
  */
175
546
  export declare function capitalizeWord(word: string): string;
176
547
 
548
+ /**
549
+ * Breaking Changes Warning System for Directix
550
+ * Provides early warning for upcoming breaking changes in future versions
551
+ */
552
+ export declare type ChangeSeverity = 'low' | 'medium' | 'high' | 'critical';
553
+
554
+ export declare type ChangeStatus = 'planned' | 'deprecated' | 'removed';
555
+
556
+ /**
557
+ * Check API usage and warn if affected
558
+ */
559
+ export declare function checkAPIUsage(apiName: string): void;
560
+
561
+ /**
562
+ * Check dependency availability
563
+ */
564
+ export declare function checkDependency(name: string, globalPath?: string): boolean;
565
+
566
+ /**
567
+ * Cleanup
568
+ */
569
+ export declare function cleanupFirstScreenOptimizer(): void;
570
+
571
+ /**
572
+ * Clear alerts
573
+ */
574
+ export declare function clearAlerts(): void;
575
+
177
576
  /**
178
577
  * Clear the announcer
179
578
  */
@@ -184,16 +583,41 @@ export declare function clearAnnouncer(): void;
184
583
  */
185
584
  export declare function clearAriaAttributes(el: HTMLElement): void;
186
585
 
586
+ /**
587
+ * Clear audit logs
588
+ */
589
+ export declare function clearAuditLogs(): void;
590
+
591
+ /**
592
+ * Clear stored results
593
+ */
594
+ export declare function clearBenchmarkResults(): void;
595
+
187
596
  /**
188
597
  * Clear DevTools state
189
598
  */
190
599
  export declare function clearDevtoolsState(): void;
191
600
 
601
+ /**
602
+ * Clear warnings
603
+ */
604
+ export declare function clearEdgeCaseWarnings(): void;
605
+
192
606
  /**
193
607
  * Clear all performance metrics
194
608
  */
195
609
  export declare function clearPerformanceMetrics(): void;
196
610
 
611
+ /**
612
+ * Clear warned changes cache
613
+ */
614
+ export declare function clearWarnedChanges(): void;
615
+
616
+ /**
617
+ * Clear warned features cache
618
+ */
619
+ export declare function clearWarnedFeatures(): void;
620
+
197
621
  /**
198
622
  * Click delay handler
199
623
  */
@@ -204,6 +628,56 @@ export declare type ClickDelayHandler = (event: MouseEvent | TouchEvent) => void
204
628
  */
205
629
  export declare type ClickOutsideHandler = (event: MouseEvent | TouchEvent) => void;
206
630
 
631
+ /**
632
+ * Code change information
633
+ */
634
+ export declare interface CodeChange {
635
+ type: 'replace' | 'insert' | 'delete';
636
+ location: string;
637
+ line: number;
638
+ original: string;
639
+ new: string;
640
+ description: string;
641
+ }
642
+
643
+ /**
644
+ * Compare two benchmark results
645
+ */
646
+ export declare function compareBenchmarks(baseline: BenchmarkResult, current: BenchmarkResult, threshold?: number): BenchmarkComparison;
647
+
648
+ /**
649
+ * Compare performance snapshots
650
+ */
651
+ export declare function compareSnapshots(before: PerformanceSnapshot, after: PerformanceSnapshot): {
652
+ memoryDiff?: {
653
+ usedJSHeapSize: number;
654
+ totalJSHeapSize: number;
655
+ };
656
+ timeDiff: number;
657
+ };
658
+
659
+ /**
660
+ * Version comparison utility
661
+ */
662
+ export declare function compareVersions(a: string, b: string): -1 | 0 | 1;
663
+
664
+ export declare interface CompatibilityMatrix {
665
+ browsers: MatrixBrowserTarget[];
666
+ features: Record<string, FeatureMatrix>;
667
+ mobileDevices: MobileDevice[];
668
+ }
669
+
670
+ /**
671
+ * Compatibility report
672
+ */
673
+ export declare interface CompatibilityReport {
674
+ browser: BrowserInfo;
675
+ config: BrowserCompatibilityConfig;
676
+ unsupportedFeatures: (keyof BrowserFeatures)[];
677
+ warnings: string[];
678
+ recommendations: string[];
679
+ }
680
+
207
681
  /**
208
682
  * Debounced function type for composables
209
683
  */
@@ -240,6 +714,37 @@ export declare interface ComposableThrottledFunction<T extends (...args: any[])
240
714
  cancel: () => void;
241
715
  }
242
716
 
717
+ /**
718
+ * Cache for computed results with dependency tracking
719
+ */
720
+ export declare class ComputedCache<K, V> {
721
+ private cache;
722
+ private maxSize;
723
+ private computeFunction;
724
+ private ttl;
725
+ constructor(computeFunction: (key: K, ...deps: any[]) => V, maxSize?: number, ttl?: number);
726
+ /**
727
+ * Get or compute cached value
728
+ */
729
+ get(key: K, dependencies: any[]): V;
730
+ /**
731
+ * Compare dependencies
732
+ */
733
+ private compareDependencies;
734
+ /**
735
+ * Invalidate specific key
736
+ */
737
+ invalidate(key: K): void;
738
+ /**
739
+ * Clear all cache
740
+ */
741
+ clear(): void;
742
+ /**
743
+ * Get cache size
744
+ */
745
+ size(): number;
746
+ }
747
+
243
748
  /**
244
749
  * Computed ref with automatic cleanup
245
750
  */
@@ -255,11 +760,135 @@ export declare interface ComputedWithCleanupOptions<T> {
255
760
  cleanup?: (value: T) => void;
256
761
  }
257
762
 
763
+ export declare interface ConfigCenterConfig {
764
+ sources: ConfigSource[];
765
+ mergeStrategy: 'override' | 'merge' | 'deepMerge';
766
+ cache: {
767
+ enabled: boolean;
768
+ ttl: number;
769
+ key: string;
770
+ };
771
+ sync: {
772
+ enabled: boolean;
773
+ broadcastChannel?: string;
774
+ onUpdate?: (key: string, value: any) => void;
775
+ };
776
+ validation: {
777
+ enabled: boolean;
778
+ schema?: Record<string, ConfigSchema>;
779
+ };
780
+ encryption: {
781
+ enabled: boolean;
782
+ algorithm: 'AES' | 'none';
783
+ key?: string;
784
+ };
785
+ }
786
+
787
+ export declare interface ConfigChangeEvent {
788
+ key: string;
789
+ oldValue: any;
790
+ newValue: any;
791
+ source: string;
792
+ timestamp: number;
793
+ }
794
+
795
+ export declare interface ConfigSchema {
796
+ type: 'string' | 'number' | 'boolean' | 'object' | 'array';
797
+ required?: boolean;
798
+ default?: any;
799
+ enum?: any[];
800
+ min?: number;
801
+ max?: number;
802
+ pattern?: string;
803
+ validator?: (value: any) => boolean;
804
+ }
805
+
806
+ export declare interface ConfigSnapshot {
807
+ version: string;
808
+ config: Record<string, any>;
809
+ timestamp: number;
810
+ source: string;
811
+ hash: string;
812
+ }
813
+
814
+ export declare interface ConfigSource {
815
+ type: ConfigSourceType;
816
+ priority: number;
817
+ api?: {
818
+ url: string;
819
+ method: 'GET' | 'POST';
820
+ headers?: Record<string, string>;
821
+ refreshInterval?: number;
822
+ timeout?: number;
823
+ };
824
+ storage?: {
825
+ key: string;
826
+ encrypt?: boolean;
827
+ };
828
+ static?: Record<string, any>;
829
+ }
830
+
831
+ /**
832
+ * Configuration Center Integration Module for Directix
833
+ * Provides centralized configuration management with remote sync support
834
+ */
835
+ export declare type ConfigSourceType = 'static' | 'api' | 'localStorage' | 'sessionStorage' | 'remote';
836
+
837
+ /**
838
+ * Configure audit logging
839
+ */
840
+ export declare function configureAuditLog(config: Partial<AuditLogConfig>): void;
841
+
842
+ /**
843
+ * Configure benchmark
844
+ */
845
+ export declare function configureBenchmark(config: Partial<BenchmarkConfig>): void;
846
+
847
+ /**
848
+ * Configure breaking changes warning system
849
+ */
850
+ export declare function configureBreakingChanges(config: Partial<BreakingChangesConfig>): void;
851
+
852
+ /**
853
+ * Configure browser compatibility settings
854
+ */
855
+ export declare function configureCompatibility(config: Partial<BrowserCompatibilityConfig>): void;
856
+
857
+ /**
858
+ * Configure configuration center
859
+ */
860
+ export declare function configureConfigCenter(config: Partial<ConfigCenterConfig>): void;
861
+
862
+ /**
863
+ * Configure edge case handler
864
+ */
865
+ export declare function configureEdgeCase(config: Partial<EdgeCaseConfig>): void;
866
+
867
+ /**
868
+ * Configure global permission manager
869
+ */
870
+ export declare function configureEnterprisePermission(config: Partial<EnterprisePermissionConfig>): EnterprisePermissionManager;
871
+
872
+ /**
873
+ * Configure first screen optimization
874
+ */
875
+ export declare function configureFirstScreen(config: Partial<FirstScreenConfig>): void;
876
+
877
+ /**
878
+ * Configure monitoring
879
+ */
880
+ export declare function configureMonitoring(config: Partial<MonitoringConfig>): void;
881
+
258
882
  /**
259
883
  * Configure performance monitoring
260
884
  */
261
885
  export declare function configurePerformance(config: Partial<PerformanceConfig>): void;
262
886
 
887
+ /**
888
+ * Configure performance optimization
889
+ */
890
+ export declare function configurePerformanceOptimization(config: Partial<PerformanceOptimizationConfig>): void;
891
+
263
892
  /**
264
893
  * Configure permission directive
265
894
  */
@@ -309,6 +938,15 @@ export declare interface CountdownTime {
309
938
  */
310
939
  export declare type CounterEasing = 'linear' | 'easeOut' | 'easeInOut' | 'easeOutQuart' | 'easeOutExpo';
311
940
 
941
+ /**
942
+ * Create audit log middleware for directives
943
+ */
944
+ export declare function createAuditLogMiddleware(directiveName: string): {
945
+ onMount: (_el: HTMLElement, binding: any, vnode: any) => void;
946
+ onUpdate: (_el: HTMLElement, binding: any, vnode: any, oldBinding: any) => void;
947
+ onUnmount: (_el: HTMLElement, _binding: any, vnode: any) => void;
948
+ };
949
+
312
950
  /**
313
951
  * Create a capitalizing function with preset options
314
952
  *
@@ -331,6 +969,11 @@ export declare function createCapitalizer(options?: {
331
969
  keepLower?: string[];
332
970
  }): (text: string) => string;
333
971
 
972
+ /**
973
+ * Debounce resize handler
974
+ */
975
+ export declare function createDebouncedResizeHandler(handler: () => void, delay?: number): () => void;
976
+
334
977
  /**
335
978
  * Create a debounced click handler
336
979
  *
@@ -350,6 +993,21 @@ export declare function createCapitalizer(options?: {
350
993
  */
351
994
  export declare function createDelayedClick(handler: ClickDelayHandler, delay?: number): (event: MouseEvent | TouchEvent) => void;
352
995
 
996
+ /**
997
+ * Create a deprecation warning helper
998
+ */
999
+ export declare function createDeprecationWarning(changeId: string, deprecatedAPI: string, alternative: string): () => void;
1000
+
1001
+ /**
1002
+ * Create benchmark for directive
1003
+ */
1004
+ export declare function createDirectiveBenchmark(directiveName: string, setup: () => HTMLElement, teardown?: (el: HTMLElement) => void): {
1005
+ measureMount: () => Promise<BenchmarkResult>;
1006
+ measureUpdate: (newValue: any) => Promise<BenchmarkResult>;
1007
+ measureUnmount: () => Promise<BenchmarkResult>;
1008
+ measureFullCycle: () => Promise<BenchmarkResult>;
1009
+ };
1010
+
353
1011
  /**
354
1012
  * Create a directive from a template
355
1013
  *
@@ -399,6 +1057,19 @@ export declare function createEventDirective(options: {
399
1057
  */
400
1058
  export declare function createI18n(options: I18nOptions): I18nInstance;
401
1059
 
1060
+ /**
1061
+ * Create lazy loader for directives
1062
+ */
1063
+ export declare function createLazyLoader(options?: {
1064
+ rootMargin?: string;
1065
+ threshold?: number;
1066
+ onVisible?: (element: Element) => void;
1067
+ }): {
1068
+ observe: (element: Element) => void;
1069
+ unobserve: (element: Element) => void;
1070
+ disconnect: () => void;
1071
+ };
1072
+
402
1073
  /**
403
1074
  * Create a lowercase transformation function
404
1075
  *
@@ -462,6 +1133,28 @@ export declare function createNumberFormatter(options?: {
462
1133
  suffix?: string;
463
1134
  }): (value: number) => string;
464
1135
 
1136
+ /**
1137
+ * Create performance budget checker
1138
+ */
1139
+ export declare function createPerformanceBudget(budget: {
1140
+ fcp?: number;
1141
+ lcp?: number;
1142
+ tti?: number;
1143
+ cls?: number;
1144
+ tbt?: number;
1145
+ }): {
1146
+ check: () => {
1147
+ passed: boolean;
1148
+ violations: string[];
1149
+ };
1150
+ report: () => string;
1151
+ };
1152
+
1153
+ /**
1154
+ * Create permission directive helper
1155
+ */
1156
+ export declare function createPermissionCheck(permission: string | string[], mode?: 'any' | 'all'): (context?: Record<string, any>) => Promise<boolean>;
1157
+
465
1158
  /**
466
1159
  * Create a permission checker with shared configuration
467
1160
  *
@@ -494,6 +1187,14 @@ export declare function createPermissionChecker(config: {
494
1187
  */
495
1188
  export declare function createSafeContentHandler(config?: XSSProtectionConfig): SafeContentHandler;
496
1189
 
1190
+ /**
1191
+ * Create safe directive wrapper
1192
+ */
1193
+ export declare function createSafeDirectiveWrapper<T>(directiveName: string, operation: (el: HTMLElement, binding: any, vnode: any) => T | Promise<T>, options?: {
1194
+ requireDOM?: boolean;
1195
+ validateBinding?: (binding: any) => boolean;
1196
+ }): (el: HTMLElement, binding: any, vnode: any) => Promise<T | undefined>;
1197
+
497
1198
  /**
498
1199
  * Create a style-based directive template
499
1200
  *
@@ -610,6 +1311,19 @@ export declare interface CSPConfig {
610
1311
  nonce?: string;
611
1312
  }
612
1313
 
1314
+ declare interface CustomIntegration {
1315
+ enabled: boolean;
1316
+ pushMetrics: (metrics: Metric[]) => Promise<void>;
1317
+ pushAlert: (alert: Alert) => Promise<void>;
1318
+ }
1319
+
1320
+ declare interface DatadogConfig {
1321
+ enabled: boolean;
1322
+ apiKey: string;
1323
+ appKey?: string;
1324
+ host?: string;
1325
+ }
1326
+
613
1327
  /**
614
1328
  * Date format options per region
615
1329
  */
@@ -669,6 +1383,41 @@ export declare function deepClone<T>(obj: T): T;
669
1383
  */
670
1384
  export declare function deepMerge<T extends Record<string, any>>(target: T, ...sources: Partial<T>[]): T;
671
1385
 
1386
+ export declare const DEFAULT_AUDIT_LOG_CONFIG: AuditLogConfig;
1387
+
1388
+ export declare const DEFAULT_BENCHMARK_CONFIG: BenchmarkConfig;
1389
+
1390
+ export declare const DEFAULT_BREAKING_CHANGES_CONFIG: BreakingChangesConfig;
1391
+
1392
+ export declare const DEFAULT_CONFIG_CENTER_CONFIG: ConfigCenterConfig;
1393
+
1394
+ export declare const DEFAULT_EDGE_CASE_CONFIG: EdgeCaseConfig;
1395
+
1396
+ export declare const DEFAULT_ENTERPRISE_PERMISSION_CONFIG: EnterprisePermissionConfig;
1397
+
1398
+ export declare const DEFAULT_FIRST_SCREEN_CONFIG: FirstScreenConfig;
1399
+
1400
+ export declare const DEFAULT_MONITORING_CONFIG: MonitoringConfig;
1401
+
1402
+ export declare const DEFAULT_PERFORMANCE_CONFIG: PerformanceOptimizationConfig;
1403
+
1404
+ /**
1405
+ * Defer non-critical directive
1406
+ */
1407
+ export declare function deferNonCriticalDirective(_directiveName: string, setup: () => void | Promise<void>, isCritical?: boolean): void;
1408
+
1409
+ export declare interface DeferredTask {
1410
+ id: string;
1411
+ priority: 'critical' | 'high' | 'medium' | 'low';
1412
+ execute: () => void | Promise<void>;
1413
+ executed: boolean;
1414
+ }
1415
+
1416
+ /**
1417
+ * Defer task execution
1418
+ */
1419
+ export declare function deferTask(id: string, execute: () => void | Promise<void>, priority?: 'critical' | 'high' | 'medium' | 'low'): void;
1420
+
672
1421
  /**
673
1422
  * Define a cross-version compatible directive
674
1423
  * @param definition The directive definition
@@ -690,6 +1439,11 @@ export declare function defineDirectiveGroup(name: string, directives: Record<st
690
1439
  */
691
1440
  export declare function definePlugin(plugin: DirectixPlugin): DirectixPlugin;
692
1441
 
1442
+ /**
1443
+ * Delete configuration value
1444
+ */
1445
+ export declare function deleteConfig(key: string): void;
1446
+
693
1447
  /**
694
1448
  * Dependency vulnerability info
695
1449
  */
@@ -710,11 +1464,46 @@ export declare interface DependencyVulnerability {
710
1464
  patchedVersions?: string;
711
1465
  }
712
1466
 
1467
+ /**
1468
+ * Deprecated API information
1469
+ */
1470
+ export declare interface DeprecatedAPI {
1471
+ name: string;
1472
+ location: string;
1473
+ line: number;
1474
+ deprecatedIn: string;
1475
+ removedIn: string;
1476
+ replacement: string;
1477
+ migrationCode?: string;
1478
+ }
1479
+
1480
+ /**
1481
+ * Detect breaking changes in code
1482
+ */
1483
+ export declare function detectBreakingChangesInCode(code: string, options?: {
1484
+ file?: string;
1485
+ }): BreakingChangeDetection[];
1486
+
1487
+ /**
1488
+ * Detect legacy usage in code
1489
+ */
1490
+ export declare function detectLegacyUsage(code: string, source?: MigrationSource): LegacyUsageReport;
1491
+
713
1492
  /**
714
1493
  * Detect user locale info
715
1494
  */
716
1495
  export declare function detectLocaleInfo(): LocaleInfo;
717
1496
 
1497
+ /**
1498
+ * Detect resize loop
1499
+ */
1500
+ export declare function detectResizeLoop(_entries: ResizeObserverEntry[], threshold?: number): boolean;
1501
+
1502
+ /**
1503
+ * Detect scroll jank
1504
+ */
1505
+ export declare function detectScrollJank(frameTime: number, threshold?: number): boolean;
1506
+
718
1507
  /**
719
1508
  * DevTools event
720
1509
  */
@@ -924,11 +1713,87 @@ export declare function disableDevtools(): void;
924
1713
  */
925
1714
  export declare function disablePerformance(): void;
926
1715
 
1716
+ /**
1717
+ * Cache for DOM queries to reduce repeated queries
1718
+ */
1719
+ export declare class DOMQueryCache {
1720
+ private queryCache;
1721
+ private styleCache;
1722
+ /**
1723
+ * Query selector with caching
1724
+ */
1725
+ querySelector(element: Element, selector: string): Element | null;
1726
+ /**
1727
+ * Query selector all with caching
1728
+ */
1729
+ querySelectorAll(element: Element, selector: string): Element[];
1730
+ /**
1731
+ * Get computed style with caching
1732
+ */
1733
+ getComputedStyle(element: Element): CSSStyleDeclaration;
1734
+ /**
1735
+ * Invalidate cache for element
1736
+ */
1737
+ invalidate(element: Element): void;
1738
+ }
1739
+
927
1740
  /**
928
1741
  * Draggable axis
929
1742
  */
930
1743
  export declare type DraggableAxis = 'x' | 'y' | 'both';
931
1744
 
1745
+ /**
1746
+ * Edge Case Handler Module for Directix
1747
+ * Provides robust handling for edge cases and error scenarios
1748
+ */
1749
+ export declare interface EdgeCaseConfig {
1750
+ ssr: {
1751
+ enabled: boolean;
1752
+ warnOnUnsupported: boolean;
1753
+ fallbackBehavior: 'skip' | 'mock' | 'throw';
1754
+ };
1755
+ domReady: {
1756
+ waitForReady: boolean;
1757
+ timeout: number;
1758
+ retryCount: number;
1759
+ };
1760
+ memory: {
1761
+ maxObservers: number;
1762
+ cleanupInterval: number;
1763
+ warnThreshold: number;
1764
+ };
1765
+ errorRecovery: {
1766
+ enabled: boolean;
1767
+ maxRetries: number;
1768
+ retryDelay: number;
1769
+ fallbackValue?: any;
1770
+ };
1771
+ mobile: {
1772
+ touchDelay: number;
1773
+ debounceResize: number;
1774
+ preventDefaultOnTouch: boolean;
1775
+ };
1776
+ }
1777
+
1778
+ export declare interface EdgeCaseResult<T> {
1779
+ success: boolean;
1780
+ value?: T;
1781
+ error?: Error;
1782
+ recovered: boolean;
1783
+ retryCount: number;
1784
+ }
1785
+
1786
+ export declare type EdgeCaseType = 'ssr-unsupported' | 'dom-not-ready' | 'element-not-found' | 'observer-limit' | 'memory-leak' | 'touch-conflict' | 'resize-loop' | 'scroll-jank' | 'invalid-binding' | 'missing-dependency';
1787
+
1788
+ export declare interface EdgeCaseWarning {
1789
+ type: EdgeCaseType;
1790
+ message: string;
1791
+ element?: Element;
1792
+ directive?: string;
1793
+ timestamp: number;
1794
+ handled: boolean;
1795
+ }
1796
+
932
1797
  /**
933
1798
  * Enable DevTools integration
934
1799
  */
@@ -949,6 +1814,139 @@ export declare function endMeasure(markId: string, directive: string, phase: 'mo
949
1814
  */
950
1815
  export declare function ensureTeleportTarget(target: string): HTMLElement | null;
951
1816
 
1817
+ /**
1818
+ * Permission configuration
1819
+ */
1820
+ export declare interface EnterprisePermissionConfig {
1821
+ sources: PermissionSourceConfig[];
1822
+ roles: Record<string, RoleDefinition>;
1823
+ cache: {
1824
+ enabled: boolean;
1825
+ ttl: number;
1826
+ key: string;
1827
+ };
1828
+ audit: {
1829
+ enabled: boolean;
1830
+ onCheck?: (result: PermissionCheckResult) => void;
1831
+ onGrant?: (result: PermissionCheckResult) => void;
1832
+ onDeny?: (result: PermissionCheckResult) => void;
1833
+ logToConsole?: boolean;
1834
+ };
1835
+ defaultBehavior: 'allow' | 'deny';
1836
+ customCheck?: (permission: string, context?: any) => boolean | Promise<boolean>;
1837
+ }
1838
+
1839
+ /**
1840
+ * Enterprise Permission Manager
1841
+ */
1842
+ export declare class EnterprisePermissionManager {
1843
+ private config;
1844
+ private permissions;
1845
+ private resolvedRoles;
1846
+ private auditLogs;
1847
+ private cacheTimestamp;
1848
+ private refreshTimer;
1849
+ private initialized;
1850
+ constructor(config?: Partial<EnterprisePermissionConfig>);
1851
+ /**
1852
+ * Initialize permission manager
1853
+ */
1854
+ initialize(): Promise<void>;
1855
+ /**
1856
+ * Load permissions from all configured sources
1857
+ */
1858
+ private loadPermissions;
1859
+ /**
1860
+ * Load permissions from a single source
1861
+ */
1862
+ private loadFromSource;
1863
+ /**
1864
+ * Load permissions from API
1865
+ */
1866
+ private loadFromApi;
1867
+ /**
1868
+ * Load permissions from storage
1869
+ */
1870
+ private loadFromStorage;
1871
+ /**
1872
+ * Resolve all role inheritances
1873
+ */
1874
+ private resolveAllRoles;
1875
+ /**
1876
+ * Resolve a single role with inheritance
1877
+ */
1878
+ private resolveRole;
1879
+ /**
1880
+ * Set up automatic refresh timer
1881
+ */
1882
+ private setupRefreshTimer;
1883
+ /**
1884
+ * Check if permission is granted
1885
+ */
1886
+ check(permission: string, context?: Record<string, any>): Promise<PermissionCheckResult>;
1887
+ /**
1888
+ * Check permission synchronously (without API refresh)
1889
+ */
1890
+ checkSync(permission: string, context?: Record<string, any>): PermissionCheckResult;
1891
+ /**
1892
+ * Check multiple permissions
1893
+ */
1894
+ checkAll(permissions: string[], context?: Record<string, any>): Promise<Record<string, boolean>>;
1895
+ /**
1896
+ * Check if any of the permissions is granted
1897
+ */
1898
+ checkAny(permissions: string[], context?: Record<string, any>): Promise<boolean>;
1899
+ /**
1900
+ * Log audit entry
1901
+ */
1902
+ private logAudit;
1903
+ /**
1904
+ * Get audit logs
1905
+ */
1906
+ getAuditLogs(filter?: {
1907
+ permission?: string;
1908
+ result?: 'granted' | 'denied';
1909
+ since?: number;
1910
+ limit?: number;
1911
+ }): PermissionAuditLogEntry[];
1912
+ /**
1913
+ * Clear audit logs
1914
+ */
1915
+ clearAuditLogs(): void;
1916
+ /**
1917
+ * Add permission dynamically
1918
+ */
1919
+ addPermission(permission: string): void;
1920
+ /**
1921
+ * Remove permission dynamically
1922
+ */
1923
+ removePermission(permission: string): void;
1924
+ /**
1925
+ * Get all current permissions
1926
+ */
1927
+ getPermissions(): string[];
1928
+ /**
1929
+ * Add role dynamically
1930
+ */
1931
+ addRole(role: RoleDefinition): void;
1932
+ /**
1933
+ * Remove role dynamically
1934
+ */
1935
+ removeRole(roleName: string): void;
1936
+ /**
1937
+ * Get resolved permissions for a role
1938
+ */
1939
+ getRolePermissions(roleName: string): string[];
1940
+ /**
1941
+ * Export audit logs
1942
+ */
1943
+ exportAuditLogs(format?: 'json' | 'csv'): string;
1944
+ /**
1945
+ * Destroy and cleanup
1946
+ */
1947
+ destroy(): void;
1948
+ }
1949
+
952
1950
  export declare const enUS: I18nMessages;
953
1951
 
954
1952
  /**
@@ -975,6 +1973,58 @@ declare interface ErrorMessages {
975
1973
  */
976
1974
  export declare function escapeHtml(str: string): string;
977
1975
 
1976
+ /**
1977
+ * Estimate migration effort
1978
+ */
1979
+ export declare function estimateMigrationEffort(report: LegacyUsageReport): {
1980
+ estimatedTime: string;
1981
+ difficulty: 'easy' | 'medium' | 'hard';
1982
+ autoFixablePercentage: number;
1983
+ };
1984
+
1985
+ /**
1986
+ * Batch processor for events to reduce DOM operations
1987
+ */
1988
+ export declare class EventBatchProcessor {
1989
+ private queue;
1990
+ private processing;
1991
+ private batchSize;
1992
+ private scheduled;
1993
+ constructor(batchSize?: number);
1994
+ /**
1995
+ * Add event to batch queue
1996
+ */
1997
+ add(target: HTMLElement, event: string, handler: EventListener): void;
1998
+ /**
1999
+ * Process batched events
2000
+ */
2001
+ private processBatch;
2002
+ /**
2003
+ * Clear the queue
2004
+ */
2005
+ clear(): void;
2006
+ }
2007
+
2008
+ /**
2009
+ * Execute deferred tasks
2010
+ */
2011
+ export declare function executeDeferredTasks(): Promise<void>;
2012
+
2013
+ /**
2014
+ * Export audit logs
2015
+ */
2016
+ export declare function exportAuditLogs(options?: AuditLogExportOptions): string;
2017
+
2018
+ /**
2019
+ * Export results as JSON
2020
+ */
2021
+ export declare function exportBenchmarkResults(format?: 'json' | 'csv'): string;
2022
+
2023
+ /**
2024
+ * Export configuration
2025
+ */
2026
+ export declare function exportConfig(format?: 'json' | 'yaml' | 'env'): string;
2027
+
978
2028
  /**
979
2029
  * Export format type
980
2030
  */
@@ -989,6 +2039,11 @@ export declare function exportPerformanceData(): {
989
2039
  report: DirectivePerformance[];
990
2040
  };
991
2041
 
2042
+ /**
2043
+ * Export metrics in Prometheus format
2044
+ */
2045
+ export declare function exportPrometheusMetrics(): string;
2046
+
992
2047
  /**
993
2048
  * Extended touch gesture types
994
2049
  */
@@ -1023,6 +2078,87 @@ export declare interface ExtendedTouchEvent {
1023
2078
  duration?: number;
1024
2079
  }
1025
2080
 
2081
+ /**
2082
+ * Get Critical CSS
2083
+ */
2084
+ export declare function extractCriticalCSS(): string;
2085
+
2086
+ /**
2087
+ * Fallback strategy configuration
2088
+ */
2089
+ export declare interface FallbackConfig {
2090
+ intersectionObserver: boolean;
2091
+ resizeObserver: boolean;
2092
+ clipboard: boolean;
2093
+ mutationObserver: boolean;
2094
+ pointerEvents: boolean;
2095
+ touchEvents: boolean;
2096
+ }
2097
+
2098
+ export declare const FEATURE_MATRIX: Record<string, FeatureMatrix>;
2099
+
2100
+ export declare interface FeatureMatrix {
2101
+ name: string;
2102
+ description: string;
2103
+ browserSupport: Record<string, {
2104
+ minVersion: number;
2105
+ notes?: string;
2106
+ }>;
2107
+ fallbackAvailable: boolean;
2108
+ }
2109
+
2110
+ export declare interface FeatureSupport {
2111
+ name: string;
2112
+ supported: boolean;
2113
+ polyfillAvailable: boolean;
2114
+ notes?: string;
2115
+ }
2116
+
2117
+ /**
2118
+ * First Screen Loading Optimization Module for Directix
2119
+ * Provides utilities for optimizing initial page load performance
2120
+ */
2121
+ export declare interface FirstScreenConfig {
2122
+ lazyLoading: {
2123
+ enabled: boolean;
2124
+ rootMargin: string;
2125
+ threshold: number;
2126
+ deferNonCritical: boolean;
2127
+ };
2128
+ codeSplitting: {
2129
+ enabled: boolean;
2130
+ preloadAfter: number;
2131
+ prefetchVisible: boolean;
2132
+ };
2133
+ resourceHints: {
2134
+ preconnect: string[];
2135
+ preload: string[];
2136
+ prefetch: string[];
2137
+ dnsPrefetch: string[];
2138
+ };
2139
+ deferredExecution: {
2140
+ enabled: boolean;
2141
+ deferDelay: number;
2142
+ priorityQueue: boolean;
2143
+ };
2144
+ criticalCSS: {
2145
+ extract: boolean;
2146
+ inline: boolean;
2147
+ inlineThreshold: number;
2148
+ };
2149
+ }
2150
+
2151
+ export declare interface FirstScreenMetrics {
2152
+ domContentLoaded: number;
2153
+ load: number;
2154
+ firstPaint: number;
2155
+ firstContentfulPaint: number;
2156
+ largestContentfulPaint: number;
2157
+ timeToInteractive: number;
2158
+ totalBlockingTime: number;
2159
+ cumulativeLayoutShift: number;
2160
+ }
2161
+
1026
2162
  /**
1027
2163
  * Focus trap options
1028
2164
  */
@@ -1087,84 +2223,394 @@ export declare function formatTime(time: CountdownTime, format: string | Countdo
1087
2223
  export declare function generateAriaId(prefix?: string): string;
1088
2224
 
1089
2225
  /**
1090
- * Generate unique ID
2226
+ * Generate benchmark report
1091
2227
  */
1092
- export declare function generateId(prefix?: string): string;
2228
+ export declare function generateBenchmarkReport(): string;
1093
2229
 
1094
2230
  /**
1095
- * Get nested property value by path
2231
+ * Generate comprehensive breaking changes report
1096
2232
  */
1097
- export declare function get<T = any>(obj: Record<string, any>, path: string, defaultValue?: T): T;
2233
+ export declare function generateBreakingChangesReport(targetVersion?: string): BreakingChangesReport;
1098
2234
 
1099
2235
  /**
1100
- * Get default ARIA config for directive type
2236
+ * Generate browserslist configuration
1101
2237
  */
1102
- export declare function getAutoAriaConfig(options: AutoAriaOptions): ARIAConfig;
2238
+ export declare function generateBrowserslistConfig(): string[];
1103
2239
 
1104
2240
  /**
1105
- * Get CSP nonce from meta tag
2241
+ * Generate compatibility report
1106
2242
  */
1107
- export declare function getCSPNonce(): string | null;
2243
+ export declare function generateCompatibilityReport(): CompatibilityReport;
1108
2244
 
1109
2245
  /**
1110
- * Get region-specific date format
2246
+ * Generate unique ID
1111
2247
  */
1112
- export declare function getDateFormat(region?: string): DateFormatOptions;
2248
+ export declare function generateId(prefix?: string): string;
1113
2249
 
1114
2250
  /**
1115
- * Get device pixel ratio
2251
+ * Generate migration report
1116
2252
  */
1117
- export declare function getDevicePixelRatio(): number;
2253
+ export declare function generateMigrationReport(report: LegacyUsageReport, format: 'text' | 'json' | 'markdown'): string;
1118
2254
 
1119
2255
  /**
1120
- * Get DevTools state (for external access)
2256
+ * Get nested property value by path
1121
2257
  */
1122
- export declare function getDevtoolsState(): {
1123
- enabled: boolean;
1124
- directiveCount: number;
1125
- pluginCount: number;
1126
- eventCount: number;
1127
- };
2258
+ export declare function get<T = any>(obj: Record<string, any>, path: string, defaultValue?: T): T;
1128
2259
 
1129
2260
  /**
1130
- * Get performance metrics for a specific directive
2261
+ * Get alerts
1131
2262
  */
1132
- export declare function getDirectiveMetrics(directive: string): PerformanceMetric[];
2263
+ export declare function getAlerts(filter?: {
2264
+ status?: AlertStatus;
2265
+ severity?: AlertSeverity;
2266
+ ruleId?: string;
2267
+ since?: number;
2268
+ }): Alert[];
1133
2269
 
1134
2270
  /**
1135
- * Get current locale
2271
+ * Get all stored results
1136
2272
  */
1137
- export declare function getLocale(): string;
2273
+ export declare function getAllBenchmarkResults(): Map<string, BenchmarkResult>;
1138
2274
 
1139
2275
  /**
1140
- * Get locale display name
2276
+ * Get all breaking changes
1141
2277
  */
1142
- export declare function getLocaleDisplayName(locale: string, displayLocale?: string): string;
2278
+ export declare function getAllBreakingChanges(): BreakingChangeDefinition[];
1143
2279
 
1144
2280
  /**
1145
- * Get most frequently called directives
2281
+ * Get all configuration values
1146
2282
  */
1147
- export declare function getMostFrequentDirectives(limit?: number): DirectivePerformance[];
2283
+ export declare function getAllConfig(): Record<string, any>;
1148
2284
 
1149
2285
  /**
1150
- * Get region-specific number format
2286
+ * Get audit log by ID
1151
2287
  */
1152
- export declare function getNumberFormat(region?: string): NumberFormatOptions;
2288
+ export declare function getAuditLogById(id: string): AuditLogEntry | undefined;
1153
2289
 
1154
2290
  /**
1155
- * Get all performance metrics
2291
+ * Get current configuration
1156
2292
  */
1157
- export declare function getPerformanceMetrics(): PerformanceMetric[];
2293
+ export declare function getAuditLogConfig(): AuditLogConfig;
1158
2294
 
1159
2295
  /**
1160
- * Get performance report for all directives
2296
+ * Get audit logs with filtering
1161
2297
  */
1162
- export declare function getPerformanceReport(): DirectivePerformance[];
2298
+ export declare function getAuditLogs(filter?: AuditLogFilter): AuditLogEntry[];
1163
2299
 
1164
2300
  /**
1165
- * Get current configuration
2301
+ * Get audit log statistics
1166
2302
  */
1167
- export declare function getPermissionConfig(): PermissionConfig | null;
2303
+ export declare function getAuditLogStats(): AuditLogStats;
2304
+
2305
+ /**
2306
+ * Get default ARIA config for directive type
2307
+ */
2308
+ export declare function getAutoAriaConfig(options: AutoAriaOptions): ARIAConfig;
2309
+
2310
+ /**
2311
+ * Get current configuration
2312
+ */
2313
+ export declare function getBenchmarkConfig(): BenchmarkConfig;
2314
+
2315
+ /**
2316
+ * Get stored benchmark result
2317
+ */
2318
+ export declare function getBenchmarkResult(name: string): BenchmarkResult | undefined;
2319
+
2320
+ /**
2321
+ * Get breaking changes by category
2322
+ */
2323
+ export declare function getBreakingChangesByCategory(category: BreakingChangeCategory): BreakingChangeDefinition[];
2324
+
2325
+ /**
2326
+ * Get breaking changes by severity
2327
+ */
2328
+ export declare function getBreakingChangesBySeverity(severity: ChangeSeverity): BreakingChangeDefinition[];
2329
+
2330
+ /**
2331
+ * Get current configuration
2332
+ */
2333
+ export declare function getBreakingChangesConfig(): BreakingChangesConfig;
2334
+
2335
+ /**
2336
+ * Get breaking changes affecting a specific API
2337
+ */
2338
+ export declare function getBreakingChangesForAPI(apiName: string): BreakingChangeDefinition[];
2339
+
2340
+ /**
2341
+ * Get breaking changes for a specific version
2342
+ */
2343
+ export declare function getBreakingChangesForVersion(version: string): BreakingChangeDefinition[];
2344
+
2345
+ /**
2346
+ * Get compatibility report for a browser
2347
+ */
2348
+ export declare function getBrowserCompatibilityReport(browserName: string, version: number): {
2349
+ supported: boolean;
2350
+ features: FeatureSupport[];
2351
+ recommendations: string[];
2352
+ };
2353
+
2354
+ /**
2355
+ * Get browser information
2356
+ */
2357
+ export declare function getBrowserInfo(): BrowserInfo;
2358
+
2359
+ /**
2360
+ * Get all supported browsers for a feature
2361
+ */
2362
+ export declare function getBrowsersSupportingFeature(featureName: string): MatrixBrowserTarget[];
2363
+
2364
+ /**
2365
+ * Get current compatibility configuration
2366
+ */
2367
+ export declare function getCompatibilityConfig(): BrowserCompatibilityConfig;
2368
+
2369
+ /**
2370
+ * Get full compatibility matrix
2371
+ */
2372
+ export declare function getCompatibilityMatrix(): CompatibilityMatrix;
2373
+
2374
+ /**
2375
+ * Get configuration value
2376
+ */
2377
+ export declare function getConfig<T = any>(key: string, defaultValue?: T): T;
2378
+
2379
+ /**
2380
+ * Get current configuration
2381
+ */
2382
+ export declare function getConfigCenterConfig(): ConfigCenterConfig;
2383
+
2384
+ /**
2385
+ * Get snapshots
2386
+ */
2387
+ export declare function getConfigSnapshots(): ConfigSnapshot[];
2388
+
2389
+ /**
2390
+ * Get config statistics
2391
+ */
2392
+ export declare function getConfigStats(): {
2393
+ totalKeys: number;
2394
+ snapshotCount: number;
2395
+ listenerCount: number;
2396
+ cacheEnabled: boolean;
2397
+ syncEnabled: boolean;
2398
+ };
2399
+
2400
+ /**
2401
+ * Get counter value
2402
+ */
2403
+ export declare function getCounterValue(name: string, labels?: Record<string, string>): number;
2404
+
2405
+ /**
2406
+ * Get CSP nonce from meta tag
2407
+ */
2408
+ export declare function getCSPNonce(): string | null;
2409
+
2410
+ /**
2411
+ * Get region-specific date format
2412
+ */
2413
+ export declare function getDateFormat(region?: string): DateFormatOptions;
2414
+
2415
+ /**
2416
+ * Get device pixel ratio
2417
+ */
2418
+ export declare function getDevicePixelRatio(): number;
2419
+
2420
+ /**
2421
+ * Get DevTools state (for external access)
2422
+ */
2423
+ export declare function getDevtoolsState(): {
2424
+ enabled: boolean;
2425
+ directiveCount: number;
2426
+ pluginCount: number;
2427
+ eventCount: number;
2428
+ };
2429
+
2430
+ /**
2431
+ * Get performance metrics for a specific directive
2432
+ */
2433
+ export declare function getDirectiveMetrics(directive: string): PerformanceMetric[];
2434
+
2435
+ /**
2436
+ * Get DOM query cache
2437
+ */
2438
+ export declare function getDOMQueryCache(): DOMQueryCache | null;
2439
+
2440
+ /**
2441
+ * Get current configuration
2442
+ */
2443
+ export declare function getEdgeCaseConfig(): EdgeCaseConfig;
2444
+
2445
+ /**
2446
+ * Get warnings
2447
+ */
2448
+ export declare function getEdgeCaseWarnings(filter?: {
2449
+ type?: EdgeCaseType;
2450
+ directive?: string;
2451
+ since?: number;
2452
+ }): EdgeCaseWarning[];
2453
+
2454
+ /**
2455
+ * Get element with edge case handling
2456
+ */
2457
+ export declare function getElementWithFallback(selector: string, fallbackSelectors?: string[]): Element | null;
2458
+
2459
+ /**
2460
+ * Get event batch processor
2461
+ */
2462
+ export declare function getEventBatchProcessor(): EventBatchProcessor | null;
2463
+
2464
+ /**
2465
+ * Get feature support for a browser
2466
+ */
2467
+ export declare function getFeatureSupport(browserName: string, featureName: string): FeatureSupport | undefined;
2468
+
2469
+ /**
2470
+ * Get current configuration
2471
+ */
2472
+ export declare function getFirstScreenConfig(): FirstScreenConfig;
2473
+
2474
+ /**
2475
+ * Get first screen metrics
2476
+ */
2477
+ export declare function getFirstScreenMetrics(): Partial<FirstScreenMetrics>;
2478
+
2479
+ /**
2480
+ * Get gauge value
2481
+ */
2482
+ export declare function getGaugeValue(name: string, labels?: Record<string, string>): number | undefined;
2483
+
2484
+ /**
2485
+ * Get health status
2486
+ */
2487
+ export declare function getHealthStatus(): {
2488
+ healthy: boolean;
2489
+ checks: HealthStatus[];
2490
+ timestamp: number;
2491
+ };
2492
+
2493
+ /**
2494
+ * Get histogram statistics
2495
+ */
2496
+ export declare function getHistogramStats(name: string, labels?: Record<string, string>): {
2497
+ count: number;
2498
+ min: number;
2499
+ max: number;
2500
+ mean: number;
2501
+ p50: number;
2502
+ p95: number;
2503
+ p99: number;
2504
+ } | undefined;
2505
+
2506
+ /**
2507
+ * Get current locale
2508
+ */
2509
+ export declare function getLocale(): string;
2510
+
2511
+ /**
2512
+ * Get locale display name
2513
+ */
2514
+ export declare function getLocaleDisplayName(locale: string, displayLocale?: string): string;
2515
+
2516
+ /**
2517
+ * Get memory cleanup manager
2518
+ */
2519
+ export declare function getMemoryCleanupManager(): MemoryCleanupManager | null;
2520
+
2521
+ /**
2522
+ * Get memory statistics
2523
+ */
2524
+ export declare function getMemoryStats(): {
2525
+ observerCount: number;
2526
+ maxObservers: number;
2527
+ warningCount: number;
2528
+ usedPercentage: number;
2529
+ };
2530
+
2531
+ /**
2532
+ * Get metrics
2533
+ */
2534
+ export declare function getMetrics(filter?: {
2535
+ name?: string;
2536
+ type?: MetricType;
2537
+ since?: number;
2538
+ }): Metric[];
2539
+
2540
+ /**
2541
+ * Get migration rules for a specific source
2542
+ */
2543
+ export declare function getMigrationRules(source: MigrationSource): MigrationRule[];
2544
+
2545
+ /**
2546
+ * Get migration timeline
2547
+ */
2548
+ export declare function getMigrationTimeline(): Array<{
2549
+ version: string;
2550
+ changes: BreakingChangeDefinition[];
2551
+ milestone: 'deprecated' | 'removed';
2552
+ }>;
2553
+
2554
+ /**
2555
+ * Get required polyfills that are not loaded
2556
+ */
2557
+ export declare function getMissingPolyfills(): string[];
2558
+
2559
+ /**
2560
+ * Get current configuration
2561
+ */
2562
+ export declare function getMonitoringConfig(): MonitoringConfig;
2563
+
2564
+ /**
2565
+ * Get monitoring statistics
2566
+ */
2567
+ export declare function getMonitoringStats(): {
2568
+ metricsCount: number;
2569
+ alertsCount: number;
2570
+ activeAlerts: number;
2571
+ healthChecksCount: number;
2572
+ healthyChecks: number;
2573
+ };
2574
+
2575
+ /**
2576
+ * Get most frequently called directives
2577
+ */
2578
+ export declare function getMostFrequentDirectives(limit?: number): DirectivePerformance[];
2579
+
2580
+ /**
2581
+ * Get region-specific number format
2582
+ */
2583
+ export declare function getNumberFormat(region?: string): NumberFormatOptions;
2584
+
2585
+ /**
2586
+ * Get observer count
2587
+ */
2588
+ export declare function getObserverCount(): number;
2589
+
2590
+ /**
2591
+ * Get all performance metrics
2592
+ */
2593
+ export declare function getPerformanceMetrics(): PerformanceMetric[];
2594
+
2595
+ /**
2596
+ * Get current performance config
2597
+ */
2598
+ export declare function getPerformanceOptimizationConfig(): PerformanceOptimizationConfig;
2599
+
2600
+ /**
2601
+ * Get performance report for all directives
2602
+ */
2603
+ export declare function getPerformanceReport(): DirectivePerformance[];
2604
+
2605
+ /**
2606
+ * Get current configuration
2607
+ */
2608
+ export declare function getPermissionConfig(): PermissionConfig | null;
2609
+
2610
+ /**
2611
+ * Get global permission manager
2612
+ */
2613
+ export declare function getPermissionManager(): EnterprisePermissionManager | null;
1168
2614
 
1169
2615
  /**
1170
2616
  * Get or create the global plugin manager
@@ -1176,6 +2622,14 @@ export declare function getPluginManager(config?: PluginConfig): PluginManager;
1176
2622
  */
1177
2623
  export declare function getPluginRegistry(registryUrl?: string): PluginRegistry;
1178
2624
 
2625
+ /**
2626
+ * Get polyfill status
2627
+ */
2628
+ export declare function getPolyfillStatus(): Record<string, {
2629
+ loaded: boolean;
2630
+ required: boolean;
2631
+ }>;
2632
+
1179
2633
  /**
1180
2634
  * Get slowest directives
1181
2635
  */
@@ -1191,11 +2645,57 @@ export declare function getSupportedRegions(): string[];
1191
2645
  */
1192
2646
  export declare function getTimezoneInfo(): TimezoneInfo;
1193
2647
 
2648
+ /**
2649
+ * Get unsupported features list
2650
+ */
2651
+ export declare function getUnsupportedFeatures(): (keyof BrowserFeatures)[];
2652
+
1194
2653
  /**
1195
2654
  * Get current Vue version
1196
2655
  */
1197
2656
  export declare function getVueVersion(): VueVersion;
1198
2657
 
2658
+ /**
2659
+ * Get warned changes
2660
+ */
2661
+ export declare function getWarnedChanges(): string[];
2662
+
2663
+ /**
2664
+ * Handle SSR unsupported operation
2665
+ */
2666
+ export declare function handleSSRUnsupported(operation: string, directive?: string): EdgeCaseResult<undefined>;
2667
+
2668
+ /**
2669
+ * Handle touch conflict (for mobile)
2670
+ */
2671
+ export declare function handleTouchConflict(element: Element, event: TouchEvent, directive?: string): boolean;
2672
+
2673
+ /**
2674
+ * Check permission using global manager
2675
+ */
2676
+ export declare function hasPermission(permission: string, context?: Record<string, any>): Promise<boolean>;
2677
+
2678
+ /**
2679
+ * Check permission synchronously
2680
+ */
2681
+ export declare function hasPermissionSync(permission: string, context?: Record<string, any>): boolean;
2682
+
2683
+ export declare interface HealthCheck {
2684
+ name: string;
2685
+ check: () => Promise<boolean> | boolean;
2686
+ interval: number;
2687
+ timeout: number;
2688
+ enabled: boolean;
2689
+ }
2690
+
2691
+ export declare interface HealthStatus {
2692
+ name: string;
2693
+ healthy: boolean;
2694
+ lastCheck: number;
2695
+ error?: string;
2696
+ latency: number;
2697
+ }
2698
+
1199
2699
  /**
1200
2700
  * Hotkey definition
1201
2701
  */
@@ -1263,11 +2763,31 @@ export declare interface I18nOptions {
1263
2763
  messages: Record<string, I18nMessages>;
1264
2764
  }
1265
2765
 
2766
+ /**
2767
+ * Import configuration
2768
+ */
2769
+ export declare function importConfig(data: string, format?: 'json' | 'yaml' | 'env', merge?: boolean): Promise<void>;
2770
+
2771
+ /**
2772
+ * Increment counter
2773
+ */
2774
+ export declare function incrementCounter(name: string, labels?: Record<string, string>, value?: number): void;
2775
+
1266
2776
  /**
1267
2777
  * Show an info message
1268
2778
  */
1269
2779
  export declare function info(message: string, params?: Record<string, any>): void;
1270
2780
 
2781
+ /**
2782
+ * Initialize configuration center
2783
+ */
2784
+ export declare function initConfigCenter(): Promise<void>;
2785
+
2786
+ /**
2787
+ * Initialize first screen optimizer
2788
+ */
2789
+ export declare function initFirstScreenOptimizer(): void;
2790
+
1271
2791
  /**
1272
2792
  * CSP-safe script injection
1273
2793
  */
@@ -1278,11 +2798,21 @@ export declare function injectScriptCSP(src: string, options?: CSPConfig): HTMLS
1278
2798
  */
1279
2799
  export declare function injectStylesCSP(css: string, options?: CSPConfig): HTMLStyleElement | HTMLLinkElement | null;
1280
2800
 
2801
+ /**
2802
+ * Inline critical CSS
2803
+ */
2804
+ export declare function inlineCriticalCSS(css: string): void;
2805
+
1281
2806
  /**
1282
2807
  * Intersect event handler
1283
2808
  */
1284
2809
  export declare type IntersectHandler = (entry: IntersectionObserverEntry, observer: IntersectionObserver) => void;
1285
2810
 
2811
+ /**
2812
+ * Check if an API is affected by breaking changes
2813
+ */
2814
+ export declare function isAPIAffected(apiName: string, version?: string): boolean;
2815
+
1286
2816
  /**
1287
2817
  * Check if value is an array
1288
2818
  */
@@ -1298,21 +2828,46 @@ export declare function isBoolean(value: unknown): value is boolean;
1298
2828
  */
1299
2829
  export declare const isBrowser: () => boolean;
1300
2830
 
2831
+ /**
2832
+ * Check if a browser version is supported
2833
+ */
2834
+ export declare function isBrowserSupported(browserName: string, version: number): boolean;
2835
+
1301
2836
  /**
1302
2837
  * Check if DevTools is available
1303
2838
  */
1304
2839
  export declare function isDevtoolsAvailable(): boolean;
1305
2840
 
2841
+ /**
2842
+ * Check if DOM is ready
2843
+ */
2844
+ export declare function isDOMReady(): boolean;
2845
+
1306
2846
  /**
1307
2847
  * Check if value is empty
1308
2848
  */
1309
2849
  export declare function isEmpty(value: unknown): boolean;
1310
2850
 
2851
+ /**
2852
+ * Check if a feature is supported
2853
+ */
2854
+ export declare function isFeatureSupported(feature: keyof BrowserFeatures): boolean;
2855
+
2856
+ /**
2857
+ * Check if current browser is fully supported
2858
+ */
2859
+ export declare function isFullySupported(): boolean;
2860
+
1311
2861
  /**
1312
2862
  * Check if value is a function
1313
2863
  */
1314
2864
  export declare function isFunction(value: unknown): value is (...args: any[]) => any;
1315
2865
 
2866
+ /**
2867
+ * Check if element is in viewport (with fallback)
2868
+ */
2869
+ export declare function isInViewport(element: Element): boolean;
2870
+
1316
2871
  /**
1317
2872
  * Check if device is mobile
1318
2873
  */
@@ -1328,11 +2883,21 @@ export declare function isNumber(value: unknown): value is number;
1328
2883
  */
1329
2884
  export declare function isObject(value: unknown): value is Record<string, any>;
1330
2885
 
2886
+ /**
2887
+ * Check if page is loaded
2888
+ */
2889
+ export declare function isPageLoaded(): boolean;
2890
+
1331
2891
  /**
1332
2892
  * Check if performance monitoring is enabled
1333
2893
  */
1334
2894
  export declare function isPerformanceEnabled(): boolean;
1335
2895
 
2896
+ /**
2897
+ * Check if a polyfill is loaded
2898
+ */
2899
+ export declare function isPolyfillLoaded(name: string): boolean;
2900
+
1336
2901
  /**
1337
2902
  * Check if value is a Promise
1338
2903
  */
@@ -1343,6 +2908,11 @@ export declare function isPromise<T = any>(value: unknown): value is Promise<T>;
1343
2908
  */
1344
2909
  export declare const isSSR: () => boolean;
1345
2910
 
2911
+ /**
2912
+ * Check if running in SSR environment
2913
+ */
2914
+ export declare function isSSREnvironment(): boolean;
2915
+
1346
2916
  /**
1347
2917
  * Check if value is a string
1348
2918
  */
@@ -1353,11 +2923,21 @@ export declare function isString(value: unknown): value is string;
1353
2923
  */
1354
2924
  export declare function isTouchDevice(): boolean;
1355
2925
 
2926
+ /**
2927
+ * Check if running in a known unsupported browser
2928
+ */
2929
+ export declare function isUnsupportedBrowser(): boolean;
2930
+
1356
2931
  /**
1357
2932
  * Check if URL is safe
1358
2933
  */
1359
2934
  export declare function isUrlSafe(url: string, allowedProtocols?: string[]): boolean;
1360
2935
 
2936
+ /**
2937
+ * Check if a version is affected by any breaking changes
2938
+ */
2939
+ export declare function isVersionAffected(version: string): boolean;
2940
+
1361
2941
  /**
1362
2942
  * Check if Vue 2 (includes 2.7)
1363
2943
  */
@@ -1411,65 +2991,328 @@ export declare interface KeyboardNavigationConfig {
1411
2991
  }
1412
2992
 
1413
2993
  /**
1414
- * Lazy loading state
2994
+ * Lazy initialization helper to defer expensive operations
2995
+ */
2996
+ export declare class LazyInitializer<T> {
2997
+ private value;
2998
+ private initFunction;
2999
+ private initialized;
3000
+ private pendingPromise;
3001
+ constructor(initFunction: () => T | Promise<T>);
3002
+ /**
3003
+ * Get value, initializing if needed
3004
+ */
3005
+ get(): T;
3006
+ /**
3007
+ * Get value asynchronously
3008
+ */
3009
+ getAsync(): Promise<T>;
3010
+ /**
3011
+ * Check if initialized
3012
+ */
3013
+ isInitialized(): boolean;
3014
+ /**
3015
+ * Reset and clear value
3016
+ */
3017
+ reset(): void;
3018
+ }
3019
+
3020
+ /**
3021
+ * Lazy loading state
3022
+ */
3023
+ export declare type LazyState = 'pending' | 'loading' | 'loaded' | 'error';
3024
+
3025
+ /**
3026
+ * Legacy API detection result
3027
+ */
3028
+ export declare interface LegacyUsageReport {
3029
+ deprecatedAPIs: DeprecatedAPI[];
3030
+ breakingChanges: BreakingChange[];
3031
+ warnings: MigrationWarning[];
3032
+ suggestions: MigrationSuggestion[];
3033
+ totalIssues: number;
3034
+ severity: 'low' | 'medium' | 'high';
3035
+ }
3036
+
3037
+ export declare interface LoadPriority {
3038
+ critical: string[];
3039
+ high: string[];
3040
+ medium: string[];
3041
+ low: string[];
3042
+ }
3043
+
3044
+ /**
3045
+ * Locale info
3046
+ */
3047
+ export declare interface LocaleInfo {
3048
+ /** Locale code (e.g., 'zh-CN') */
3049
+ locale: string;
3050
+ /** Language code (e.g., 'zh') */
3051
+ language: string;
3052
+ /** Region/country code (e.g., 'CN') */
3053
+ region: string | null;
3054
+ /** Script code (e.g., 'Hant') */
3055
+ script: string | null;
3056
+ /** Browser detected locale */
3057
+ browserLocale: string;
3058
+ /** System timezone */
3059
+ timezone: string;
3060
+ }
3061
+
3062
+ /**
3063
+ * Core logging function
3064
+ */
3065
+ export declare function logAudit(level: AuditLogLevel, type: AuditEventType, message: string, details?: Record<string, unknown>, context?: Partial<AuditContext>, duration?: number): AuditLogEntry | null;
3066
+
3067
+ /**
3068
+ * Log directive operation
3069
+ */
3070
+ export declare function logDirectiveOperation(operation: 'mount' | 'update' | 'unmount', directive: string, details?: Record<string, unknown>, context?: Partial<AuditContext>, duration?: number): void;
3071
+
3072
+ /**
3073
+ * Unified warning/error system for Directix directives
3074
+ *
3075
+ * Provides structured, localized error messages with:
3076
+ * - Directive name context
3077
+ * - Parameter validation messages
3078
+ * - Stack trace in development mode
3079
+ * - Warning levels (debug, info, warn, error)
3080
+ */
3081
+ declare type LogLevel = 'debug' | 'info' | 'warn' | 'error';
3082
+
3083
+ /**
3084
+ * Log performance issue
3085
+ */
3086
+ export declare function logPerformanceIssue(operation: string, duration: number, threshold: number, context?: Partial<AuditContext>): void;
3087
+
3088
+ /**
3089
+ * Log permission check
3090
+ */
3091
+ export declare function logPermissionCheck(permission: string, granted: boolean, source: string, context?: Partial<AuditContext>): void;
3092
+
3093
+ /**
3094
+ * Log security violation
3095
+ */
3096
+ export declare function logSecurityViolation(violation: string, details: Record<string, unknown>, context?: Partial<AuditContext>): void;
3097
+
3098
+ /**
3099
+ * Lottie animation state
3100
+ */
3101
+ export declare type LottieAnimationState = 'playing' | 'paused' | 'stopped';
3102
+
3103
+ /**
3104
+ * Transform text to lowercase
3105
+ */
3106
+ export declare function lowercaseText(text: string, firstOnly?: boolean): string;
3107
+
3108
+ /**
3109
+ * Mark a polyfill as loaded
3110
+ */
3111
+ export declare function markPolyfillLoaded(name: string): void;
3112
+
3113
+ /**
3114
+ * Browser Compatibility Test Matrix for Directix
3115
+ * Defines supported browsers, versions, and test configurations
3116
+ */
3117
+ export declare interface MatrixBrowserTarget {
3118
+ name: string;
3119
+ minVersion: number;
3120
+ currentVersion: number;
3121
+ engine: 'blink' | 'gecko' | 'webkit';
3122
+ features: FeatureSupport[];
3123
+ }
3124
+
3125
+ /**
3126
+ * Performance measurement helper
3127
+ * Use this to wrap directive lifecycle methods
3128
+ */
3129
+ export declare function measurePerformance<T>(directive: string, phase: 'mount' | 'update' | 'unmount', fn: () => T, metadata?: Record<string, any>): T;
3130
+
3131
+ /**
3132
+ * Async performance measurement helper
3133
+ */
3134
+ export declare function measurePerformanceAsync<T>(directive: string, phase: 'mount' | 'update' | 'unmount', fn: () => Promise<T>, metadata?: Record<string, any>): Promise<T>;
3135
+
3136
+ /**
3137
+ * Check if current browser meets minimum requirements
3138
+ */
3139
+ export declare function meetsMinimumRequirements(): boolean;
3140
+
3141
+ /**
3142
+ * Manager for periodic memory cleanup
3143
+ */
3144
+ export declare class MemoryCleanupManager {
3145
+ private cleanupCallbacks;
3146
+ private intervalId;
3147
+ private cleanupInterval;
3148
+ constructor(cleanupInterval?: number);
3149
+ /**
3150
+ * Register cleanup callback
3151
+ */
3152
+ register(callback: () => void): void;
3153
+ /**
3154
+ * Unregister cleanup callback
3155
+ */
3156
+ unregister(callback: () => void): void;
3157
+ /**
3158
+ * Start periodic cleanup
3159
+ */
3160
+ start(): void;
3161
+ /**
3162
+ * Stop periodic cleanup
3163
+ */
3164
+ stop(): void;
3165
+ /**
3166
+ * Run cleanup manually
3167
+ */
3168
+ runCleanup(): void;
3169
+ /**
3170
+ * Get registered callbacks count
3171
+ */
3172
+ size(): number;
3173
+ }
3174
+
3175
+ export declare interface Metric {
3176
+ name: string;
3177
+ type: MetricType;
3178
+ value: number;
3179
+ labels: Record<string, string>;
3180
+ timestamp: number;
3181
+ }
3182
+
3183
+ export declare type MetricType = 'counter' | 'gauge' | 'histogram' | 'summary';
3184
+
3185
+ /**
3186
+ * Apply migration rules to code
1415
3187
  */
1416
- export declare type LazyState = 'pending' | 'loading' | 'loaded' | 'error';
3188
+ export declare function migrate(code: string, options: MigrationOptions): MigrationResult;
1417
3189
 
1418
3190
  /**
1419
- * Locale info
3191
+ * Migration options
1420
3192
  */
1421
- export declare interface LocaleInfo {
1422
- /** Locale code (e.g., 'zh-CN') */
1423
- locale: string;
1424
- /** Language code (e.g., 'zh') */
1425
- language: string;
1426
- /** Region/country code (e.g., 'CN') */
1427
- region: string | null;
1428
- /** Script code (e.g., 'Hant') */
1429
- script: string | null;
1430
- /** Browser detected locale */
1431
- browserLocale: string;
1432
- /** System timezone */
1433
- timezone: string;
3193
+ export declare interface MigrationOptions {
3194
+ source: MigrationSource;
3195
+ rules: MigrationRule[];
3196
+ dryRun: boolean;
3197
+ verbose: boolean;
3198
+ preserveComments: boolean;
3199
+ formatOutput: boolean;
1434
3200
  }
1435
3201
 
1436
3202
  /**
1437
- * Unified warning/error system for Directix directives
1438
- *
1439
- * Provides structured, localized error messages with:
1440
- * - Directive name context
1441
- * - Parameter validation messages
1442
- * - Stack trace in development mode
1443
- * - Warning levels (debug, info, warn, error)
3203
+ * Migration result
1444
3204
  */
1445
- declare type LogLevel = 'debug' | 'info' | 'warn' | 'error';
3205
+ export declare interface MigrationResult {
3206
+ code: string;
3207
+ changes: CodeChange[];
3208
+ warnings: string[];
3209
+ stats: MigrationStats;
3210
+ }
1446
3211
 
1447
3212
  /**
1448
- * Lottie animation state
3213
+ * Migration rule
1449
3214
  */
1450
- export declare type LottieAnimationState = 'playing' | 'paused' | 'stopped';
3215
+ export declare interface MigrationRule {
3216
+ pattern: RegExp | string;
3217
+ replacement: string;
3218
+ description: string;
3219
+ autoFixable: boolean;
3220
+ }
1451
3221
 
1452
3222
  /**
1453
- * Transform text to lowercase
3223
+ * Migration helper module for Directix
3224
+ * Provides tools for detecting and migrating from older versions or other libraries
1454
3225
  */
1455
- export declare function lowercaseText(text: string, firstOnly?: boolean): string;
3226
+ /**
3227
+ * Migration source type
3228
+ */
3229
+ export declare type MigrationSource = 'directix-v1' | 'vueuse' | 'v-directives' | 'custom';
1456
3230
 
1457
3231
  /**
1458
- * Performance measurement helper
1459
- * Use this to wrap directive lifecycle methods
3232
+ * Migration statistics
1460
3233
  */
1461
- export declare function measurePerformance<T>(directive: string, phase: 'mount' | 'update' | 'unmount', fn: () => T, metadata?: Record<string, any>): T;
3234
+ export declare interface MigrationStats {
3235
+ filesProcessed: number;
3236
+ filesChanged: number;
3237
+ totalChanges: number;
3238
+ autoFixes: number;
3239
+ manualFixes: number;
3240
+ warnings: number;
3241
+ errors: number;
3242
+ }
1462
3243
 
1463
3244
  /**
1464
- * Async performance measurement helper
3245
+ * Migration suggestion
1465
3246
  */
1466
- export declare function measurePerformanceAsync<T>(directive: string, phase: 'mount' | 'update' | 'unmount', fn: () => Promise<T>, metadata?: Record<string, any>): Promise<T>;
3247
+ export declare interface MigrationSuggestion {
3248
+ original: string;
3249
+ suggested: string;
3250
+ location: string;
3251
+ line: number;
3252
+ autoFixable: boolean;
3253
+ }
3254
+
3255
+ /**
3256
+ * Migration warning
3257
+ */
3258
+ export declare interface MigrationWarning {
3259
+ message: string;
3260
+ location: string;
3261
+ line: number;
3262
+ severity: 'info' | 'warning' | 'error';
3263
+ }
3264
+
3265
+ export declare const MOBILE_DEVICES: MobileDevice[];
3266
+
3267
+ export declare interface MobileDevice {
3268
+ name: string;
3269
+ os: string;
3270
+ osMinVersion: string;
3271
+ browser: string;
3272
+ browserMinVersion: string;
3273
+ }
3274
+
3275
+ export declare interface MonitoringConfig {
3276
+ enabled: boolean;
3277
+ metrics: {
3278
+ enabled: boolean;
3279
+ prefix: string;
3280
+ labels: Record<string, string>;
3281
+ flushInterval: number;
3282
+ maxBatchSize: number;
3283
+ };
3284
+ alerts: {
3285
+ enabled: boolean;
3286
+ channels: AlertChannel[];
3287
+ rules: AlertRule[];
3288
+ cooldown: number;
3289
+ aggregation: boolean;
3290
+ aggregationWindow: number;
3291
+ };
3292
+ health: {
3293
+ enabled: boolean;
3294
+ endpoint: string;
3295
+ checks: HealthCheck[];
3296
+ interval: number;
3297
+ };
3298
+ integrations: {
3299
+ prometheus?: PrometheusConfig;
3300
+ datadog?: DatadogConfig;
3301
+ sentry?: SentryConfig;
3302
+ custom?: CustomIntegration;
3303
+ };
3304
+ }
1467
3305
 
1468
3306
  /**
1469
3307
  * Mutation change handler
1470
3308
  */
1471
3309
  export declare type MutationHandler = (mutations: MutationRecord[], observer: MutationObserver) => void;
1472
3310
 
3311
+ /**
3312
+ * Check if code needs migration
3313
+ */
3314
+ export declare function needsMigration(code: string, source?: MigrationSource): boolean;
3315
+
1473
3316
  /**
1474
3317
  * Number format options per region
1475
3318
  */
@@ -1501,6 +3344,23 @@ export declare class ObjectPool<T> {
1501
3344
  clear(): void;
1502
3345
  }
1503
3346
 
3347
+ export declare interface ObjectPoolOptions {
3348
+ initialSize: number;
3349
+ maxSize: number;
3350
+ resetFunction?: (obj: any) => void;
3351
+ createFunction: () => any;
3352
+ }
3353
+
3354
+ /**
3355
+ * Execute on DOM ready
3356
+ */
3357
+ export declare function onDOMReady(callback: () => void): void;
3358
+
3359
+ /**
3360
+ * Execute on page load
3361
+ */
3362
+ export declare function onPageLoad(callback: () => void): void;
3363
+
1504
3364
  /**
1505
3365
  * Vue 3 Optimization Utilities for Directix
1506
3366
  *
@@ -1625,6 +3485,61 @@ export declare interface PerformanceMetric {
1625
3485
  metadata?: Record<string, any>;
1626
3486
  }
1627
3487
 
3488
+ /**
3489
+ * Runtime Performance Optimization Module for Directix
3490
+ * Provides utilities for optimizing runtime performance
3491
+ */
3492
+ export declare interface PerformanceOptimizationConfig {
3493
+ eventDelegation: {
3494
+ enabled: boolean;
3495
+ globalListeners: boolean;
3496
+ batchProcessing: boolean;
3497
+ batchSize: number;
3498
+ };
3499
+ virtualization: {
3500
+ enabled: boolean;
3501
+ scrollThreshold: number;
3502
+ listItemHeight: number | 'auto';
3503
+ bufferSize: number;
3504
+ };
3505
+ caching: {
3506
+ computedResults: boolean;
3507
+ domQueries: boolean;
3508
+ styleCalculations: boolean;
3509
+ maxCacheSize: number;
3510
+ };
3511
+ lazyInit: {
3512
+ directives: boolean;
3513
+ events: boolean;
3514
+ observers: boolean;
3515
+ debounceMs: number;
3516
+ };
3517
+ memory: {
3518
+ objectPool: boolean;
3519
+ weakReferences: boolean;
3520
+ cleanupOnUnmount: boolean;
3521
+ periodicCleanup: number | false;
3522
+ };
3523
+ }
3524
+
3525
+ /**
3526
+ * Performance snapshot
3527
+ */
3528
+ export declare interface PerformanceSnapshot {
3529
+ memory?: {
3530
+ usedJSHeapSize: number;
3531
+ totalJSHeapSize: number;
3532
+ jsHeapSizeLimit: number;
3533
+ };
3534
+ timing: {
3535
+ domContentLoaded: number;
3536
+ loadComplete: number;
3537
+ domInteractive: number;
3538
+ };
3539
+ entries: PerformanceEntry[];
3540
+ timestamp: number;
3541
+ }
3542
+
1628
3543
  /**
1629
3544
  * Performance statistics
1630
3545
  */
@@ -1645,6 +3560,33 @@ export declare interface PerformanceStats {
1645
3560
  p99: number;
1646
3561
  }
1647
3562
 
3563
+ /**
3564
+ * Permission audit log entry
3565
+ */
3566
+ export declare interface PermissionAuditLogEntry {
3567
+ id: string;
3568
+ timestamp: number;
3569
+ permission: string;
3570
+ result: 'granted' | 'denied';
3571
+ source: string;
3572
+ context?: Record<string, any>;
3573
+ reason?: string;
3574
+ userAgent?: string;
3575
+ url?: string;
3576
+ }
3577
+
3578
+ /**
3579
+ * Permission check result
3580
+ */
3581
+ export declare interface PermissionCheckResult {
3582
+ granted: boolean;
3583
+ permission: string;
3584
+ source: string;
3585
+ timestamp: number;
3586
+ context?: Record<string, any>;
3587
+ reason?: string;
3588
+ }
3589
+
1648
3590
  /**
1649
3591
  * Permission configuration
1650
3592
  */
@@ -1662,6 +3604,35 @@ declare interface PermissionConfig {
1662
3604
  */
1663
3605
  export declare type PermissionMode = 'some' | 'every';
1664
3606
 
3607
+ /**
3608
+ * Permission source configuration
3609
+ */
3610
+ export declare interface PermissionSourceConfig {
3611
+ type: PermissionSourceType;
3612
+ permissions?: string[];
3613
+ api?: {
3614
+ url: string;
3615
+ method: 'GET' | 'POST';
3616
+ headers?: Record<string, string>;
3617
+ transform?: (response: any) => string[];
3618
+ refreshInterval?: number;
3619
+ };
3620
+ storage?: {
3621
+ key: string;
3622
+ parse?: (value: string) => string[];
3623
+ };
3624
+ custom?: () => string[] | Promise<string[]>;
3625
+ }
3626
+
3627
+ /**
3628
+ * Enterprise Permission Management Module for Directix
3629
+ * Provides advanced permission management with multi-source support, role inheritance, and audit logging
3630
+ */
3631
+ /**
3632
+ * Permission source type
3633
+ */
3634
+ export declare type PermissionSourceType = 'static' | 'api' | 'localStorage' | 'sessionStorage' | 'custom';
3635
+
1665
3636
  /**
1666
3637
  * Pinch gesture event data
1667
3638
  */
@@ -1676,6 +3647,11 @@ export declare interface PinchEvent {
1676
3647
  isFinal: boolean;
1677
3648
  }
1678
3649
 
3650
+ /**
3651
+ * Platform type
3652
+ */
3653
+ export declare type PlatformType = 'desktop' | 'mobile' | 'tablet';
3654
+
1679
3655
  /**
1680
3656
  * Plugin category
1681
3657
  */
@@ -1920,6 +3896,11 @@ export declare interface PluginRegistryEntry {
1920
3896
  license?: string;
1921
3897
  }
1922
3898
 
3899
+ /**
3900
+ * Polyfill strategy
3901
+ */
3902
+ export declare type PolyfillStrategy = 'auto' | 'manual' | 'none';
3903
+
1923
3904
  /**
1924
3905
  * Position type
1925
3906
  */
@@ -1928,6 +3909,23 @@ export declare interface Position {
1928
3909
  y: number;
1929
3910
  }
1930
3911
 
3912
+ /**
3913
+ * Prefetch module
3914
+ */
3915
+ export declare function prefetchModule(url: string): void;
3916
+
3917
+ /**
3918
+ * Prefetch visible elements
3919
+ */
3920
+ export declare function prefetchVisibleElements(selector: string, getUrl: (element: Element) => string, options?: {
3921
+ rootMargin?: string;
3922
+ }): void;
3923
+
3924
+ /**
3925
+ * Preload module
3926
+ */
3927
+ export declare function preloadModule(url: string): void;
3928
+
1931
3929
  /**
1932
3930
  * Print before callback
1933
3931
  */
@@ -1938,6 +3936,11 @@ export declare type PrintBeforeCallback = () => boolean | void;
1938
3936
  */
1939
3937
  export declare type PrintCompleteCallback = () => void;
1940
3938
 
3939
+ declare interface PrometheusConfig {
3940
+ enabled: boolean;
3941
+ endpoint: string;
3942
+ }
3943
+
1941
3944
  /**
1942
3945
  * Pull refresh handler
1943
3946
  */
@@ -2005,6 +4008,47 @@ export declare interface PWAConfig {
2005
4008
  */
2006
4009
  export declare function quickPrint(target: string | HTMLElement, options?: UsePrintOptions): Promise<void>;
2007
4010
 
4011
+ /**
4012
+ * Record histogram value
4013
+ */
4014
+ export declare function recordHistogram(name: string, value: number, labels?: Record<string, string>): void;
4015
+
4016
+ /**
4017
+ * Register a polyfill
4018
+ */
4019
+ export declare function registerPolyfill(name: string, required?: boolean): void;
4020
+
4021
+ /**
4022
+ * Remove health check
4023
+ */
4024
+ export declare function removeHealthCheck(name: string): void;
4025
+
4026
+ /**
4027
+ * Request idle callback with fallback
4028
+ */
4029
+ declare function requestIdleCallback_2(callback: IdleRequestCallback, options?: IdleRequestOptions): number;
4030
+ export { requestIdleCallback_2 as requestIdleCallback }
4031
+
4032
+ /**
4033
+ * Reset browser info cache (useful for testing)
4034
+ */
4035
+ export declare function resetBrowserInfo(): void;
4036
+
4037
+ /**
4038
+ * Reset configuration center
4039
+ */
4040
+ export declare function resetConfigCenter(): void;
4041
+
4042
+ /**
4043
+ * Reset monitoring
4044
+ */
4045
+ export declare function resetMonitoring(): void;
4046
+
4047
+ /**
4048
+ * Reset performance optimizer
4049
+ */
4050
+ export declare function resetPerformanceOptimizer(): void;
4051
+
2008
4052
  /**
2009
4053
  * Reset the global plugin manager
2010
4054
  */
@@ -2032,6 +4076,27 @@ export declare interface ResizeInfo {
2032
4076
  contentRect: DOMRectReadOnly;
2033
4077
  }
2034
4078
 
4079
+ /**
4080
+ * Resolve alert
4081
+ */
4082
+ export declare function resolveAlert(alertId: string): boolean;
4083
+
4084
+ /**
4085
+ * Role definition
4086
+ */
4087
+ export declare interface RoleDefinition {
4088
+ name: string;
4089
+ permissions: string[];
4090
+ inherits?: string[];
4091
+ description?: string;
4092
+ metadata?: Record<string, any>;
4093
+ }
4094
+
4095
+ /**
4096
+ * Rollback to snapshot
4097
+ */
4098
+ export declare function rollbackConfig(version: string): boolean;
4099
+
2035
4100
  /**
2036
4101
  * Rotate gesture event data
2037
4102
  */
@@ -2046,6 +4111,24 @@ export declare interface RotateGestureEvent {
2046
4111
  isFinal: boolean;
2047
4112
  }
2048
4113
 
4114
+ /**
4115
+ * Run a single benchmark
4116
+ */
4117
+ export declare function runBenchmark(name: string, fn: BenchmarkFunction, config?: Partial<BenchmarkConfig>): Promise<BenchmarkResult>;
4118
+
4119
+ /**
4120
+ * Run benchmark suite
4121
+ */
4122
+ export declare function runBenchmarkSuite(suiteName: string, benchmarks: Array<{
4123
+ name: string;
4124
+ fn: BenchmarkFunction;
4125
+ }>, config?: Partial<BenchmarkConfig>): Promise<BenchmarkSuite>;
4126
+
4127
+ /**
4128
+ * Run manual cleanup
4129
+ */
4130
+ export declare function runMemoryCleanup(): void;
4131
+
2049
4132
  /**
2050
4133
  * Safe content handler for directives
2051
4134
  */
@@ -2070,6 +4153,15 @@ export declare class SafeContentHandler {
2070
4153
  getSanitizedHtml(content: string): string;
2071
4154
  }
2072
4155
 
4156
+ /**
4157
+ * Safely query element with retry
4158
+ */
4159
+ export declare function safeQueryElement(selector: string, options?: {
4160
+ retryCount?: number;
4161
+ retryDelay?: number;
4162
+ parent?: Element | Document;
4163
+ }): Promise<Element | null>;
4164
+
2073
4165
  /**
2074
4166
  * Advanced HTML sanitizer
2075
4167
  */
@@ -2169,16 +4261,38 @@ export declare interface SecurityVulnerability {
2169
4261
  remediation?: string;
2170
4262
  }
2171
4263
 
4264
+ declare interface SentryConfig {
4265
+ enabled: boolean;
4266
+ dsn: string;
4267
+ environment?: string;
4268
+ release?: string;
4269
+ }
4270
+
2172
4271
  /**
2173
4272
  * Set nested property value by path
2174
4273
  */
2175
4274
  export declare function set(obj: Record<string, any>, path: string, value: any): void;
2176
4275
 
4276
+ /**
4277
+ * Set configuration value
4278
+ */
4279
+ export declare function setConfig(key: string, value: any, source?: string): void;
4280
+
4281
+ /**
4282
+ * Set gauge
4283
+ */
4284
+ export declare function setGauge(name: string, value: number, labels?: Record<string, string>): void;
4285
+
2177
4286
  /**
2178
4287
  * Set current locale
2179
4288
  */
2180
4289
  export declare function setLocale(locale: string): void;
2181
4290
 
4291
+ /**
4292
+ * Cleanup on page unload
4293
+ */
4294
+ export declare function setupCleanupOnUnload(cleanupFn: () => void): void;
4295
+
2182
4296
  /**
2183
4297
  * Set Vue version explicitly (for cases where auto-detection fails)
2184
4298
  */
@@ -2209,11 +4323,21 @@ export declare type SkeletonAnimation = 'wave' | 'pulse' | 'none';
2209
4323
  */
2210
4324
  export declare function startMeasure(directive: string, phase: 'mount' | 'update' | 'unmount'): string;
2211
4325
 
4326
+ /**
4327
+ * Stop cleanup timer
4328
+ */
4329
+ export declare function stopCleanupTimer(): void;
4330
+
2212
4331
  /**
2213
4332
  * Strip all HTML tags
2214
4333
  */
2215
4334
  export declare function stripHtml(html: string): string;
2216
4335
 
4336
+ /**
4337
+ * Support level
4338
+ */
4339
+ export declare type SupportLevel = 'full' | 'partial' | 'none';
4340
+
2217
4341
  /**
2218
4342
  * Check if Clipboard API is supported
2219
4343
  */
@@ -2261,6 +4385,14 @@ export declare type SwipeDirection = 'left' | 'right' | 'up' | 'down';
2261
4385
  */
2262
4386
  export declare type SwipeHandler = (direction: SwipeDirection, event: Event) => void;
2263
4387
 
4388
+ /**
4389
+ * Sync configuration to remote
4390
+ */
4391
+ export declare function syncConfigToRemote(url: string, options?: {
4392
+ method?: 'POST' | 'PUT';
4393
+ headers?: Record<string, string>;
4394
+ }): Promise<boolean>;
4395
+
2264
4396
  /**
2265
4397
  * Translate a message key
2266
4398
  * @param key - Dot-notation key like 'directives.debounce.invalid_wait'
@@ -2268,6 +4400,11 @@ export declare type SwipeHandler = (direction: SwipeDirection, event: Event) =>
2268
4400
  */
2269
4401
  export declare function t(key: string, params?: Record<string, any>): string;
2270
4402
 
4403
+ /**
4404
+ * Take performance snapshot
4405
+ */
4406
+ export declare function takePerformanceSnapshot(): PerformanceSnapshot;
4407
+
2271
4408
  /**
2272
4409
  * Teleport content to target
2273
4410
  */
@@ -2309,6 +4446,11 @@ export declare function throttleFn<T extends (...args: any[]) => any>(fn: T, wai
2309
4446
  trailing?: boolean;
2310
4447
  }): ComposableThrottledFunction<T>;
2311
4448
 
4449
+ /**
4450
+ * Time an operation
4451
+ */
4452
+ export declare function timeOperation<T>(name: string, fn: () => T | Promise<T>, labels?: Record<string, string>): Promise<T>;
4453
+
2312
4454
  /**
2313
4455
  * Timezone and locale utilities
2314
4456
  *
@@ -2411,11 +4553,21 @@ export declare interface TouchGestureThresholds {
2411
4553
  */
2412
4554
  export declare function trackDirective(name: string, info?: Partial<DirectiveInfo>): void;
2413
4555
 
4556
+ /**
4557
+ * Track observer count
4558
+ */
4559
+ export declare function trackObserver(): boolean;
4560
+
2414
4561
  /**
2415
4562
  * Register a plugin for DevTools tracking
2416
4563
  */
2417
4564
  export declare function trackPlugin(info: PluginInfo): void;
2418
4565
 
4566
+ /**
4567
+ * Trigger alert
4568
+ */
4569
+ export declare function triggerAlert(ruleId: string, message: string, value: number, threshold: number, labels?: Record<string, string>): Alert | null;
4570
+
2419
4571
  /**
2420
4572
  * Trigger haptic feedback
2421
4573
  */
@@ -2464,6 +4616,11 @@ export declare function unescapeHtml(str: string): string;
2464
4616
  */
2465
4617
  export declare function untrackDirective(name: string): void;
2466
4618
 
4619
+ /**
4620
+ * Untrack observer
4621
+ */
4622
+ export declare function untrackObserver(): void;
4623
+
2467
4624
  /**
2468
4625
  * Unregister a plugin from DevTools tracking
2469
4626
  */
@@ -7055,6 +9212,15 @@ export declare interface UseWatermarkReturn {
7055
9212
  disable: () => void;
7056
9213
  }
7057
9214
 
9215
+ /**
9216
+ * Validate binding value
9217
+ */
9218
+ export declare function validateBinding(binding: any, schema: {
9219
+ type?: string | string[];
9220
+ required?: boolean;
9221
+ validator?: (value: any) => boolean;
9222
+ }, directive?: string): EdgeCaseResult<any>;
9223
+
7058
9224
  /**
7059
9225
  * v-blur directive
7060
9226
  * Background blur overlay effect
@@ -8148,6 +10314,11 @@ export declare const vVisible: Directive;
8148
10314
  */
8149
10315
  export declare const vWatermark: Directive;
8150
10316
 
10317
+ /**
10318
+ * Wait for DOM ready
10319
+ */
10320
+ export declare function waitForDOMReady(): Promise<void>;
10321
+
8151
10322
  /**
8152
10323
  * Show a warning message
8153
10324
  */
@@ -8155,6 +10326,11 @@ export declare function warn(options: WarningOptions): void;
8155
10326
 
8156
10327
  export declare function warn(message: string, params?: Record<string, any>): void;
8157
10328
 
10329
+ /**
10330
+ * Warn about a breaking change (once)
10331
+ */
10332
+ export declare function warnBreakingChange(changeId: string): void;
10333
+
8158
10334
  /**
8159
10335
  * Deprecation warning
8160
10336
  */
@@ -8203,6 +10379,21 @@ export declare function warnNotSupported(feature: string): void;
8203
10379
  */
8204
10380
  export declare function warnSSRNotSupported(directive: string): void;
8205
10381
 
10382
+ /**
10383
+ * Warn once about a specific feature
10384
+ */
10385
+ export declare function warnUnsupportedFeatureOnce(feature: string, fallback?: string): void;
10386
+
10387
+ /**
10388
+ * Warn about unsupported features
10389
+ */
10390
+ export declare function warnUnsupportedFeatures(): void;
10391
+
10392
+ /**
10393
+ * Watch configuration changes
10394
+ */
10395
+ export declare function watchConfig(key: string | '*', callback: (event: ConfigChangeEvent) => void): () => void;
10396
+
8206
10397
  /**
8207
10398
  * watchEffect that tracks directive bindings
8208
10399
  */
@@ -8220,6 +10411,55 @@ export declare interface WatchEffectBindingOptions {
8220
10411
  immediate?: boolean;
8221
10412
  }
8222
10413
 
10414
+ /**
10415
+ * Cache using WeakMap for automatic cleanup when references are removed
10416
+ */
10417
+ export declare class WeakCache<K extends object, V> {
10418
+ private cache;
10419
+ private strongCache;
10420
+ private maxStrongSize;
10421
+ constructor(maxStrongSize?: number);
10422
+ /**
10423
+ * Get cached value
10424
+ */
10425
+ get(key: K): V | undefined;
10426
+ /**
10427
+ * Set cached value
10428
+ */
10429
+ set(key: K, value: V): void;
10430
+ /**
10431
+ * Check if key exists
10432
+ */
10433
+ has(key: K): boolean;
10434
+ /**
10435
+ * Delete cached value
10436
+ */
10437
+ delete(key: K): boolean;
10438
+ /**
10439
+ * Clear strong cache (weak cache auto-clears)
10440
+ */
10441
+ clearStrong(): void;
10442
+ /**
10443
+ * Get cache size
10444
+ */
10445
+ size(): number;
10446
+ }
10447
+
10448
+ /**
10449
+ * Measure and log performance
10450
+ */
10451
+ export declare function withAuditLog<T>(type: AuditEventType, message: string, fn: () => T | Promise<T>, details?: Record<string, unknown>, context?: Partial<AuditContext>): Promise<T>;
10452
+
10453
+ /**
10454
+ * Execute with error recovery
10455
+ */
10456
+ export declare function withErrorRecovery<T>(operation: () => T | Promise<T>, options?: {
10457
+ maxRetries?: number;
10458
+ retryDelay?: number;
10459
+ fallbackValue?: T;
10460
+ onError?: (error: Error, attempt: number) => void;
10461
+ }): Promise<EdgeCaseResult<T>>;
10462
+
8223
10463
  /**
8224
10464
  * Create a performance monitor decorator for directives
8225
10465
  */