@discourse/types 2026.9.0-12832138 → 2026.9.0-c0ef3a11

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.
@@ -4,8 +4,8 @@ declare module '@ember/test-helpers/-tuple' {
4
4
  //# sourceMappingURL=-tuple.d.ts.map
5
5
  }
6
6
  declare module '@ember/test-helpers/-utils' {
7
- export const nextTick: (cb: () => void) => Promise<void>;
8
- export const futureTick: typeof setTimeout;
7
+ export const nextTick: (cb: () => void) => Promise<void>;
8
+ export const futureTick: typeof setTimeout;
9
9
  /**
10
10
  Retrieves an array of destroyables from the specified property on the object
11
11
  provided, iterates that array invoking each function, then deleting the
@@ -15,7 +15,7 @@ declare module '@ember/test-helpers/-utils' {
15
15
  @param {Object} object an object to search for the destroyable array within
16
16
  @param {string} property the property on the object that contains the destroyable array
17
17
  */
18
- export function runDestroyablesFor(object: any, property: string): void;
18
+ export function runDestroyablesFor(object: any, property: string): void;
19
19
  /**
20
20
  Returns whether the passed in string consists only of numeric characters.
21
21
 
@@ -23,7 +23,7 @@ declare module '@ember/test-helpers/-utils' {
23
23
  @param {string} n input string
24
24
  @returns {boolean} whether the input string consists only of numeric characters
25
25
  */
26
- export function isNumeric(n: string): boolean;
26
+ export function isNumeric(n: string): boolean;
27
27
  /**
28
28
  Checks if an element is considered visible by the focus area spec.
29
29
 
@@ -31,7 +31,7 @@ declare module '@ember/test-helpers/-utils' {
31
31
  @param {Element} element the element to check
32
32
  @returns {boolean} `true` when the element is visible, `false` otherwise
33
33
  */
34
- export function isVisible(element: Element): boolean;
34
+ export function isVisible(element: Element): boolean;
35
35
  /**
36
36
  Checks if an element is disabled.
37
37
 
@@ -39,11 +39,11 @@ declare module '@ember/test-helpers/-utils' {
39
39
  @param {Element} element the element to check
40
40
  @returns {boolean} `true` when the element is disabled, `false` otherwise
41
41
  */
42
- export function isDisabled(element: HTMLElement): boolean;
42
+ export function isDisabled(element: HTMLElement): boolean;
43
43
  //# sourceMappingURL=-utils.d.ts.map
44
44
  }
45
45
  declare module '@ember/test-helpers/application' {
46
- import Application from '@ember/application';
46
+ import Application from '@ember/application';
47
47
  /**
48
48
  Stores the provided application instance so that tests being ran will be aware of the application under test.
49
49
 
@@ -53,21 +53,21 @@ declare module '@ember/test-helpers/application' {
53
53
  @public
54
54
  @param {Ember.Application} application the application that will be tested
55
55
  */
56
- export function setApplication(application: Application): void;
56
+ export function setApplication(application: Application): void;
57
57
  /**
58
58
  Retrieve the application instance stored by `setApplication`.
59
59
 
60
60
  @public
61
61
  @returns {Ember.Application} the previously stored application instance under test
62
62
  */
63
- export function getApplication(): Application | undefined;
63
+ export function getApplication(): Application | undefined;
64
64
  //# sourceMappingURL=application.d.ts.map
65
65
  }
66
66
  declare module '@ember/test-helpers/build-owner' {
67
- import Application from '@ember/application';
68
- import type { Resolver } from '@ember/owner';
69
- import type EmberOwner from '@ember/owner';
70
- import type { SimpleElement } from '@simple-dom/interface';
67
+ import Application from '@ember/application';
68
+ import type { Resolver } from '@ember/owner';
69
+ import type EmberOwner from '@ember/owner';
70
+ import type { SimpleElement } from '@simple-dom/interface';
71
71
  export interface Owner extends EmberOwner {
72
72
  _emberTestHelpersMockOwner?: boolean;
73
73
  rootElement?: string | Element | SimpleElement | null;
@@ -147,7 +147,7 @@ declare module '@ember/test-helpers/helper-hooks' {
147
147
  * // Unregister the hook at some later point in time
148
148
  * hook.unregister();
149
149
  */
150
- export function registerHook(helperName: string, label: HookLabel, hook: Hook): HookUnregister;
150
+ export function registerHook(helperName: string, label: HookLabel, hook: Hook): HookUnregister;
151
151
  /**
152
152
  * Runs all hooks registered for a specific test helper.
153
153
  *
@@ -161,11 +161,11 @@ declare module '@ember/test-helpers/helper-hooks' {
161
161
  * @param {unknown[]} args Any arguments originally passed to the test helper.
162
162
  * @returns {Promise<void>} A promise representing the serial invocation of the hooks.
163
163
  */
164
- export function runHooks(helperName: string, label: HookLabel, ...args: unknown[]): Promise<void>;
164
+ export function runHooks(helperName: string, label: HookLabel, ...args: unknown[]): Promise<void>;
165
165
  //# sourceMappingURL=helper-hooks.d.ts.map
166
166
  }
167
167
  declare module '@ember/test-helpers/resolver' {
168
- import type { Resolver } from '@ember/owner';
168
+ import type { Resolver } from '@ember/owner';
169
169
  /**
170
170
  Stores the provided resolver instance so that tests being ran can resolve
171
171
  objects in the same way as a normal application.
@@ -175,18 +175,18 @@ declare module '@ember/test-helpers/resolver' {
175
175
  @public
176
176
  @param {Ember.Resolver} resolver the resolver to be used for testing
177
177
  */
178
- export function setResolver(resolver: Resolver): void;
178
+ export function setResolver(resolver: Resolver): void;
179
179
  /**
180
180
  Retrieve the resolver instance stored by `setResolver`.
181
181
 
182
182
  @public
183
183
  @returns {Ember.Resolver} the previously stored resolver
184
184
  */
185
- export function getResolver(): Resolver | undefined;
185
+ export function getResolver(): Resolver | undefined;
186
186
  //# sourceMappingURL=resolver.d.ts.map
187
187
  }
188
188
  declare module '@ember/test-helpers/-internal/deprecations' {
189
- import type { BaseContext } from '@ember/test-helpers/setup-context';
189
+ import type { BaseContext } from '@ember/test-helpers/setup-context';
190
190
  export interface DeprecationOptions {
191
191
  id: string;
192
192
  until: string;
@@ -207,7 +207,7 @@ declare module '@ember/test-helpers/-internal/deprecations' {
207
207
  * @param {BaseContext} [context] the test context
208
208
  * @return {Array<DeprecationFailure>} the Deprecation Failures associated with the corresponding BaseContext;
209
209
  */
210
- export function getDeprecationsForContext(context: BaseContext): Array<DeprecationFailure>;
210
+ export function getDeprecationsForContext(context: BaseContext): Array<DeprecationFailure>;
211
211
  /**
212
212
  *
213
213
  * Provides the list of deprecation failures associated with a given base
@@ -219,11 +219,11 @@ declare module '@ember/test-helpers/-internal/deprecations' {
219
219
  * @param {Function} [callback] The callback that when executed will have its DeprecationFailure recorded
220
220
  * @return {Array<DeprecationFailure>} The Deprecation Failures associated with the corresponding baseContext which occurred while the CallbackFunction was executed
221
221
  */
222
- export function getDeprecationsDuringCallbackForContext(context: BaseContext, callback: () => void): Array<DeprecationFailure> | Promise<Array<DeprecationFailure>>;
222
+ export function getDeprecationsDuringCallbackForContext(context: BaseContext, callback: () => void): Array<DeprecationFailure> | Promise<Array<DeprecationFailure>>;
223
223
  //# sourceMappingURL=deprecations.d.ts.map
224
224
  }
225
225
  declare module '@ember/test-helpers/-internal/warnings' {
226
- import type { BaseContext } from '@ember/test-helpers/setup-context';
226
+ import type { BaseContext } from '@ember/test-helpers/setup-context';
227
227
  export interface WarningOptions {
228
228
  id?: string;
229
229
  }
@@ -239,7 +239,7 @@ declare module '@ember/test-helpers/-internal/warnings' {
239
239
  * @param {BaseContext} [context] the test context
240
240
  * @return {Array<Warning>} the warnings associated with the corresponding BaseContext;
241
241
  */
242
- export function getWarningsForContext(context: BaseContext): Array<Warning>;
242
+ export function getWarningsForContext(context: BaseContext): Array<Warning>;
243
243
  /**
244
244
  *
245
245
  * Provides the list of warnings associated with a given test context which
@@ -251,14 +251,14 @@ declare module '@ember/test-helpers/-internal/warnings' {
251
251
  * @param {Function} [callback] The callback that when executed will have its warnings recorded
252
252
  * @return {Array<Warning>} The warnings associated with the corresponding baseContext which occurred while the CallbackFunction was executed
253
253
  */
254
- export function getWarningsDuringCallbackForContext(context: BaseContext, callback: () => void): Array<Warning> | Promise<Array<Warning>>;
254
+ export function getWarningsDuringCallbackForContext(context: BaseContext, callback: () => void): Array<Warning> | Promise<Array<Warning>>;
255
255
  //# sourceMappingURL=warnings.d.ts.map
256
256
  }
257
257
  declare module '@ember/test-helpers/setup-context' {
258
- import type { Resolver } from '@ember/owner';
259
- import { type Owner } from '@ember/test-helpers/build-owner';
260
- import { type DeprecationFailure } from '@ember/test-helpers/-internal/deprecations';
261
- import { type Warning } from '@ember/test-helpers/-internal/warnings';
258
+ import type { Resolver } from '@ember/owner';
259
+ import { type Owner } from '@ember/test-helpers/build-owner';
260
+ import { type DeprecationFailure } from '@ember/test-helpers/-internal/deprecations';
261
+ import { type Warning } from '@ember/test-helpers/-internal/warnings';
262
262
  export interface SetupContextOptions {
263
263
  resolver?: Resolver | undefined;
264
264
  }
@@ -279,7 +279,7 @@ declare module '@ember/test-helpers/setup-context' {
279
279
  pauseTest(): Promise<void>;
280
280
  resumeTest(): void;
281
281
  }
282
- export function isTestContext(context: BaseContext): context is TestContext;
282
+ export function isTestContext(context: BaseContext): context is TestContext;
283
283
  /**
284
284
  Stores the provided context as the "global testing context".
285
285
 
@@ -288,14 +288,14 @@ declare module '@ember/test-helpers/setup-context' {
288
288
  @public
289
289
  @param {Object} context the context to use
290
290
  */
291
- export function setContext(context: BaseContext): void;
291
+ export function setContext(context: BaseContext): void;
292
292
  /**
293
293
  Retrieve the "global testing context" as stored by `setContext`.
294
294
 
295
295
  @public
296
296
  @returns {Object} the previously stored testing context
297
297
  */
298
- export function getContext(): BaseContext | undefined;
298
+ export function getContext(): BaseContext | undefined;
299
299
  /**
300
300
  Clear the "global testing context".
301
301
 
@@ -303,7 +303,7 @@ declare module '@ember/test-helpers/setup-context' {
303
303
 
304
304
  @public
305
305
  */
306
- export function unsetContext(): void;
306
+ export function unsetContext(): void;
307
307
  /**
308
308
  * Returns a promise to be used to pauses the current test (due to being
309
309
  * returned from the test itself). This is useful for debugging while testing
@@ -338,13 +338,13 @@ declare module '@ember/test-helpers/setup-context' {
338
338
  * });
339
339
  * });
340
340
  */
341
- export function pauseTest(): Promise<void>;
341
+ export function pauseTest(): Promise<void>;
342
342
  /**
343
343
  Resumes a test previously paused by `await pauseTest()`.
344
344
 
345
345
  @public
346
346
  */
347
- export function resumeTest(): void;
347
+ export function resumeTest(): void;
348
348
  /**
349
349
  * Returns deprecations which have occurred so far for a the current test context
350
350
  *
@@ -362,7 +362,7 @@ declare module '@ember/test-helpers/setup-context' {
362
362
  * });
363
363
  * });
364
364
  */
365
- export function getDeprecations(): Array<DeprecationFailure>;
365
+ export function getDeprecations(): Array<DeprecationFailure>;
366
366
  export type { DeprecationFailure };
367
367
  /**
368
368
  * Returns deprecations which have occurred so far for a the current test context
@@ -392,7 +392,7 @@ declare module '@ember/test-helpers/setup-context' {
392
392
  * });
393
393
  * });
394
394
  */
395
- export function getDeprecationsDuringCallback(callback: () => void): Array<DeprecationFailure> | Promise<Array<DeprecationFailure>>;
395
+ export function getDeprecationsDuringCallback(callback: () => void): Array<DeprecationFailure> | Promise<Array<DeprecationFailure>>;
396
396
  /**
397
397
  * Returns warnings which have occurred so far for a the current test context
398
398
  *
@@ -410,7 +410,7 @@ declare module '@ember/test-helpers/setup-context' {
410
410
  * });
411
411
  * });
412
412
  */
413
- export function getWarnings(): Array<Warning>;
413
+ export function getWarnings(): Array<Warning>;
414
414
  export type { Warning };
415
415
  /**
416
416
  * Returns warnings which have occurred so far for a the current test context
@@ -442,7 +442,7 @@ declare module '@ember/test-helpers/setup-context' {
442
442
  * });
443
443
  * });
444
444
  */
445
- export function getWarningsDuringCallback(callback: () => void): Array<Warning> | Promise<Array<Warning>>;
445
+ export function getWarningsDuringCallback(callback: () => void): Array<Warning> | Promise<Array<Warning>>;
446
446
  /**
447
447
  Used by test framework addons to setup the provided context for testing.
448
448
 
@@ -464,7 +464,7 @@ declare module '@ember/test-helpers/setup-context' {
464
464
  //# sourceMappingURL=setup-context.d.ts.map
465
465
  }
466
466
  declare module '@ember/test-helpers/teardown-context' {
467
- import type { TestContext } from '@ember/test-helpers/setup-context';
467
+ import type { TestContext } from '@ember/test-helpers/setup-context';
468
468
  export interface TeardownContextOptions {
469
469
  waitForSettled?: boolean | undefined;
470
470
  }
@@ -487,13 +487,14 @@ declare module '@ember/test-helpers/teardown-context' {
487
487
  //# sourceMappingURL=teardown-context.d.ts.map
488
488
  }
489
489
  declare module '@ember/test-helpers/setup-rendering-context' {
490
- import { type BaseContext, type TestContext } from '@ember/test-helpers/setup-context';
491
- import type { Owner } from '@ember/test-helpers/build-owner'; const hasCalledSetupRenderingContext: unique symbol;
490
+ import { type BaseContext, type TestContext } from '@ember/test-helpers/setup-context';
491
+ import type { Owner } from '@ember/test-helpers/build-owner';
492
+ const hasCalledSetupRenderingContext: unique symbol;
492
493
  export interface RenderingTestContext extends TestContext {
493
494
  element: Element | Document;
494
495
  [hasCalledSetupRenderingContext]?: true;
495
496
  }
496
- export function isRenderingTestContext(context: BaseContext): context is RenderingTestContext;
497
+ export function isRenderingTestContext(context: BaseContext): context is RenderingTestContext;
497
498
  export interface RenderOptions {
498
499
  /**
499
500
  The owner object to use as the basis for the template. In most cases you
@@ -517,7 +518,7 @@ declare module '@ember/test-helpers/setup-rendering-context' {
517
518
  </caption>
518
519
  await render(hbs`<div class="container"></div>`);
519
520
  */
520
- export function render(templateFactoryOrComponent: object, options?: RenderOptions): Promise<void>;
521
+ export function render(templateFactoryOrComponent: object, options?: RenderOptions): Promise<void>;
521
522
  /**
522
523
  Clears any templates previously rendered. This is commonly used for
523
524
  confirming behavior that is triggered by teardown (e.g.
@@ -526,7 +527,7 @@ declare module '@ember/test-helpers/setup-rendering-context' {
526
527
  @public
527
528
  @returns {Promise<void>} resolves when settled
528
529
  */
529
- export function clearRender(): Promise<void>;
530
+ export function clearRender(): Promise<void>;
530
531
  /**
531
532
  Used by test framework addons to setup the provided context for rendering.
532
533
 
@@ -581,18 +582,18 @@ declare module '@ember/test-helpers/rerender' {
581
582
  //# sourceMappingURL=rerender.d.ts.map
582
583
  }
583
584
  declare module '@ember/test-helpers/setup-application-context' {
584
- import { type BaseContext, type TestContext } from '@ember/test-helpers/setup-context';
585
+ import { type BaseContext, type TestContext } from '@ember/test-helpers/setup-context';
585
586
  export interface ApplicationTestContext extends TestContext {
586
587
  element?: Element | null;
587
588
  }
588
- export function isApplicationTestContext(context: BaseContext): context is ApplicationTestContext;
589
+ export function isApplicationTestContext(context: BaseContext): context is ApplicationTestContext;
589
590
  /**
590
591
  Determines if we have any pending router transitions (used to determine `settled` state)
591
592
 
592
593
  @public
593
594
  @returns {(boolean|null)} if there are pending transitions
594
595
  */
595
- export function hasPendingTransitions(): boolean | null;
596
+ export function hasPendingTransitions(): boolean | null;
596
597
  /**
597
598
  Setup the current router instance with settledness tracking. Generally speaking this
598
599
  is done automatically (during a `visit('/some-url')` invocation), but under some
@@ -601,7 +602,7 @@ declare module '@ember/test-helpers/setup-application-context' {
601
602
 
602
603
  @public
603
604
  */
604
- export function setupRouterSettlednessTracking(): void;
605
+ export function setupRouterSettlednessTracking(): void;
605
606
  /**
606
607
  Navigate the application to the provided URL.
607
608
 
@@ -622,17 +623,17 @@ declare module '@ember/test-helpers/setup-application-context' {
622
623
  </caption>
623
624
  await visit('/', { rootElement: '#container' });
624
625
  */
625
- export function visit(url: string, options?: Record<string, unknown>): Promise<void>;
626
+ export function visit(url: string, options?: Record<string, unknown>): Promise<void>;
626
627
  /**
627
628
  @public
628
629
  @returns {string} the currently active route name
629
630
  */
630
- export function currentRouteName(): string;
631
+ export function currentRouteName(): string;
631
632
  /**
632
633
  @public
633
634
  @returns {string} the applications current url
634
635
  */
635
- export function currentURL(): string;
636
+ export function currentURL(): string;
636
637
  /**
637
638
  Used by test framework addons to setup the provided context for working with
638
639
  an application (e.g. routing).
@@ -650,8 +651,8 @@ declare module '@ember/test-helpers/setup-application-context' {
650
651
  //# sourceMappingURL=setup-application-context.d.ts.map
651
652
  }
652
653
  declare module '@ember/test-helpers/-internal/debug-info' {
653
- import type { DebugInfo as BackburnerDebugInfo } from '@ember/runloop/-private/backburner';
654
- import { type PendingWaiterState } from '@ember/test-waiters';
654
+ import type { DebugInfo as BackburnerDebugInfo } from '@ember/runloop/-private/backburner';
655
+ import { type PendingWaiterState } from '@ember/test-waiters';
655
656
  type MaybeDebugInfo = BackburnerDebugInfo | null;
656
657
  interface SettledState {
657
658
  hasPendingTimers: boolean;
@@ -688,7 +689,7 @@ declare module '@ember/test-helpers/-internal/debug-info' {
688
689
  *
689
690
  * @returns {boolean} True if `getDebugInfo` is present in backburner, otherwise false.
690
691
  */
691
- export function backburnerDebugInfoAvailable(): boolean;
692
+ export function backburnerDebugInfoAvailable(): boolean;
692
693
  /**
693
694
  * Retrieves debug information from backburner's current deferred actions queue (runloop instance).
694
695
  * If the `getDebugInfo` method isn't available, it returns `null`.
@@ -696,7 +697,7 @@ declare module '@ember/test-helpers/-internal/debug-info' {
696
697
  * @public
697
698
  * @returns {MaybeDebugInfo | null} Backburner debugInfo or, if the getDebugInfo method is not present, null
698
699
  */
699
- export function getDebugInfo(): MaybeDebugInfo;
700
+ export function getDebugInfo(): MaybeDebugInfo;
700
701
  /**
701
702
  * Encapsulates debug information for an individual test. Aggregates information
702
703
  * from:
@@ -708,7 +709,7 @@ declare module '@ember/test-helpers/-internal/debug-info' {
708
709
  * - info provided by backburner's getDebugInfo method (timers, schedules, and stack trace info)
709
710
  *
710
711
  */
711
- export class TestDebugInfo implements DebugInfo {
712
+ export class TestDebugInfo implements DebugInfo {
712
713
  private _settledState;
713
714
  private _debugInfo;
714
715
  private _summaryInfo;
@@ -721,19 +722,19 @@ declare module '@ember/test-helpers/-internal/debug-info' {
721
722
  //# sourceMappingURL=debug-info.d.ts.map
722
723
  }
723
724
  declare module '@ember/test-helpers/settled' {
724
- import type DebugInfo from '@ember/test-helpers/-internal/debug-info';
725
+ import type DebugInfo from '@ember/test-helpers/-internal/debug-info';
725
726
  /**
726
727
  Clears listeners that were previously setup for `ajaxSend` and `ajaxComplete`.
727
728
 
728
729
  @private
729
730
  */
730
- export function _teardownAJAXHooks(): void;
731
+ export function _teardownAJAXHooks(): void;
731
732
  /**
732
733
  Sets up listeners for `ajaxSend` and `ajaxComplete`.
733
734
 
734
735
  @private
735
736
  */
736
- export function _setupAJAXHooks(): void;
737
+ export function _setupAJAXHooks(): void;
737
738
  export interface SettledState {
738
739
  hasRunLoop: boolean;
739
740
  hasPendingTimers: boolean;
@@ -770,7 +771,7 @@ declare module '@ember/test-helpers/settled' {
770
771
  @public
771
772
  @returns {Object} object with properties for each of the metrics used to determine settledness
772
773
  */
773
- export function getSettledState(): SettledState;
774
+ export function getSettledState(): SettledState;
774
775
  /**
775
776
  Checks various settledness metrics (via `getSettledState()`) to determine if things are settled or not.
776
777
 
@@ -781,7 +782,7 @@ declare module '@ember/test-helpers/settled' {
781
782
  @public
782
783
  @returns {boolean} `true` if settled, `false` otherwise
783
784
  */
784
- export function isSettled(): boolean;
785
+ export function isSettled(): boolean;
785
786
  /**
786
787
  Returns a promise that resolves when in a settled state (see `isSettled` for
787
788
  a definition of "settled state").
@@ -859,7 +860,7 @@ declare module '@ember/test-helpers/validate-error-handler' {
859
860
  //# sourceMappingURL=validate-error-handler.d.ts.map
860
861
  }
861
862
  declare module '@ember/test-helpers/setup-onerror' {
862
- import { type BaseContext } from '@ember/test-helpers/setup-context';
863
+ import { type BaseContext } from '@ember/test-helpers/setup-context';
863
864
  /**
864
865
  * Sets the `Ember.onerror` function for tests. This value is intended to be reset after
865
866
  * each test to ensure correct test isolation. To reset, you should simply call `setupOnerror`
@@ -893,7 +894,7 @@ declare module '@ember/test-helpers/setup-onerror' {
893
894
  * resetOnerror();
894
895
  * })
895
896
  */
896
- export function resetOnerror(): void;
897
+ export function resetOnerror(): void;
897
898
  /**
898
899
  * Caches the current value of Ember.onerror. When `setupOnerror` is called without a value
899
900
  * or when `resetOnerror` is called the value will be set to what was cached here.
@@ -901,14 +902,14 @@ declare module '@ember/test-helpers/setup-onerror' {
901
902
  * @private
902
903
  * @param {BaseContext} context the text context
903
904
  */
904
- export function _prepareOnerror(context: BaseContext): void;
905
+ export function _prepareOnerror(context: BaseContext): void;
905
906
  /**
906
907
  * Removes the cached value of Ember.onerror.
907
908
  *
908
909
  * @private
909
910
  * @param {BaseContext} context the text context
910
911
  */
911
- export function _cleanupOnerror(context: BaseContext): void;
912
+ export function _cleanupOnerror(context: BaseContext): void;
912
913
  //# sourceMappingURL=setup-onerror.d.ts.map
913
914
  }
914
915
  declare module '@ember/test-helpers/-internal/debug-info-helpers' {
@@ -916,7 +917,7 @@ declare module '@ember/test-helpers/-internal/debug-info-helpers' {
916
917
  name: string;
917
918
  log: () => void;
918
919
  }
919
- export const debugInfoHelpers: Set<DebugInfoHelper>;
920
+ export const debugInfoHelpers: Set<DebugInfoHelper>;
920
921
  /**
921
922
  * Registers a custom debug info helper to augment the output for test isolation validation.
922
923
  *
@@ -940,7 +941,8 @@ declare module '@ember/test-helpers/-internal/debug-info-helpers' {
940
941
  //# sourceMappingURL=debug-info-helpers.d.ts.map
941
942
  }
942
943
  declare module '@ember/test-helpers/test-metadata' {
943
- import type { BaseContext } from '@ember/test-helpers/setup-context'; class TestMetadata {
944
+ import type { BaseContext } from '@ember/test-helpers/setup-context';
945
+ class TestMetadata {
944
946
  [key: string]: any;
945
947
  testName?: string;
946
948
  setupTypes: string[];
@@ -967,24 +969,24 @@ declare module '@ember/test-helpers/test-metadata' {
967
969
  //# sourceMappingURL=test-metadata.d.ts.map
968
970
  }
969
971
  declare module '@ember/test-helpers/dom/-target' {
970
- import type { IDOMElementDescriptor } from 'dom-element-descriptors';
972
+ import type { IDOMElementDescriptor } from 'dom-element-descriptors';
971
973
  export type Target = string | Element | IDOMElementDescriptor | Document | Window;
972
974
  export interface HTMLElementContentEditable extends HTMLElement {
973
975
  isContentEditable: true;
974
976
  }
975
- export function isElement(target: unknown): target is Element;
976
- export function isWindow(target: Target): target is Window;
977
- export function isDocument(target: unknown): target is Document;
978
- export function isContentEditable(element: Element): element is HTMLElementContentEditable;
977
+ export function isElement(target: unknown): target is Element;
978
+ export function isWindow(target: Target): target is Window;
979
+ export function isDocument(target: unknown): target is Document;
980
+ export function isContentEditable(element: Element): element is HTMLElementContentEditable;
979
981
  //# sourceMappingURL=-target.d.ts.map
980
982
  }
981
983
  declare module '@ember/test-helpers/dom/click' {
982
- import { type Target } from '@ember/test-helpers/dom/-target';
984
+ import { type Target } from '@ember/test-helpers/dom/-target';
983
985
  /**
984
986
  * Represent a particular mouse button being clicked.
985
987
  * See https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons for available options.
986
988
  */
987
- export const DEFAULT_CLICK_OPTIONS: {
989
+ export const DEFAULT_CLICK_OPTIONS: {
988
990
  buttons: number;
989
991
  button: number;
990
992
  };
@@ -994,7 +996,7 @@ declare module '@ember/test-helpers/dom/click' {
994
996
  @param {MouseEventInit} options the options to be merged into the mouse events
995
997
  @return {Promise<Event | void>} resolves when settled
996
998
  */
997
- export function __click__(element: Element | Document | Window, options: MouseEventInit): Promise<Event | void>;
999
+ export function __click__(element: Element | Document | Window, options: MouseEventInit): Promise<Event | void>;
998
1000
  /**
999
1001
  Clicks on the specified target.
1000
1002
 
@@ -1044,14 +1046,14 @@ declare module '@ember/test-helpers/dom/click' {
1044
1046
  //# sourceMappingURL=click.d.ts.map
1045
1047
  }
1046
1048
  declare module '@ember/test-helpers/dom/double-click' {
1047
- import { type Target } from '@ember/test-helpers/dom/-target';
1049
+ import { type Target } from '@ember/test-helpers/dom/-target';
1048
1050
  /**
1049
1051
  @private
1050
1052
  @param {Element} element the element to double-click on
1051
1053
  @param {MouseEventInit} options the options to be merged into the mouse events
1052
1054
  @returns {Promise<Event | void>} resolves when settled
1053
1055
  */
1054
- export function __doubleClick__(element: Element | Document | Window, options: MouseEventInit): Promise<Event | void>;
1056
+ export function __doubleClick__(element: Element | Document | Window, options: MouseEventInit): Promise<Event | void>;
1055
1057
  /**
1056
1058
  Double-clicks on the specified target.
1057
1059
 
@@ -1140,7 +1142,7 @@ declare module '@ember/test-helpers/dom/tab' {
1140
1142
  //# sourceMappingURL=tab.d.ts.map
1141
1143
  }
1142
1144
  declare module '@ember/test-helpers/dom/tap' {
1143
- import type { Target } from '@ember/test-helpers/dom/-target';
1145
+ import type { Target } from '@ember/test-helpers/dom/-target';
1144
1146
  /**
1145
1147
  Taps on the specified target.
1146
1148
 
@@ -1187,7 +1189,7 @@ declare module '@ember/test-helpers/dom/tap' {
1187
1189
  //# sourceMappingURL=tap.d.ts.map
1188
1190
  }
1189
1191
  declare module '@ember/test-helpers/dom/focus' {
1190
- import { type Target } from '@ember/test-helpers/dom/-target';
1192
+ import { type Target } from '@ember/test-helpers/dom/-target';
1191
1193
  type FocusRecord = {
1192
1194
  focusTarget: HTMLElement | SVGElement;
1193
1195
  previousFocusedElement?: HTMLElement | SVGElement | null;
@@ -1197,7 +1199,7 @@ declare module '@ember/test-helpers/dom/focus' {
1197
1199
  @param {Element} element the element to trigger events on
1198
1200
  @return {Promise<FocusRecord | Event | void>} resolves when settled
1199
1201
  */
1200
- export function __focus__(element: HTMLElement | Element | Document | SVGElement): Promise<FocusRecord | Event | void>;
1202
+ export function __focus__(element: HTMLElement | Element | Document | SVGElement): Promise<FocusRecord | Event | void>;
1201
1203
  /**
1202
1204
  Focus the specified target.
1203
1205
 
@@ -1228,14 +1230,14 @@ declare module '@ember/test-helpers/dom/focus' {
1228
1230
  //# sourceMappingURL=focus.d.ts.map
1229
1231
  }
1230
1232
  declare module '@ember/test-helpers/dom/blur' {
1231
- import type { Target } from '@ember/test-helpers/dom/-target';
1233
+ import type { Target } from '@ember/test-helpers/dom/-target';
1232
1234
  /**
1233
1235
  @private
1234
1236
  @param {Element} element the element to trigger events on
1235
1237
  @param {Element} relatedTarget the element that is focused after blur
1236
1238
  @return {Promise<Event | void>} resolves when settled
1237
1239
  */
1238
- export function __blur__(element: HTMLElement | Element | Document | SVGElement, relatedTarget?: HTMLElement | Element | Document | SVGElement | null): Promise<Event | void>;
1240
+ export function __blur__(element: HTMLElement | Element | Document | SVGElement, relatedTarget?: HTMLElement | Element | Document | SVGElement | null): Promise<Event | void>;
1239
1241
  /**
1240
1242
  Unfocus the specified target.
1241
1243
 
@@ -1265,7 +1267,7 @@ declare module '@ember/test-helpers/dom/blur' {
1265
1267
  //# sourceMappingURL=blur.d.ts.map
1266
1268
  }
1267
1269
  declare module '@ember/test-helpers/dom/trigger-event' {
1268
- import type { Target } from '@ember/test-helpers/dom/-target';
1270
+ import type { Target } from '@ember/test-helpers/dom/-target';
1269
1271
  /**
1270
1272
  * Triggers an event on the specified target.
1271
1273
  *
@@ -1314,21 +1316,26 @@ declare module '@ember/test-helpers/dom/trigger-event' {
1314
1316
  //# sourceMappingURL=trigger-event.d.ts.map
1315
1317
  }
1316
1318
  declare module '@ember/test-helpers/dom/fire-event' {
1317
- export const KEYBOARD_EVENT_TYPES: ["keydown", "keypress", "keyup"];
1319
+ export const KEYBOARD_EVENT_TYPES: ["keydown", "keypress", "keyup"];
1318
1320
  export type KeyboardEventType = (typeof KEYBOARD_EVENT_TYPES)[number];
1319
- export function isKeyboardEventType(eventType: any): eventType is KeyboardEventType; const MOUSE_EVENT_TYPES: ["click", "mousedown", "mouseup", "dblclick", "mouseenter", "mouseleave", "mousemove", "mouseout", "mouseover"];
1321
+ export function isKeyboardEventType(eventType: any): eventType is KeyboardEventType;
1322
+ const MOUSE_EVENT_TYPES: ["click", "mousedown", "mouseup", "dblclick", "mouseenter", "mouseleave", "mousemove", "mouseout", "mouseover"];
1320
1323
  export type MouseEventType = (typeof MOUSE_EVENT_TYPES)[number];
1321
- export function isMouseEventType(eventType: any): eventType is MouseEventType; const FILE_SELECTION_EVENT_TYPES: ["change"];
1324
+ export function isMouseEventType(eventType: any): eventType is MouseEventType;
1325
+ const FILE_SELECTION_EVENT_TYPES: ["change"];
1322
1326
  export type FileSelectionEventType = (typeof FILE_SELECTION_EVENT_TYPES)[number];
1323
- export function isFileSelectionEventType(eventType: any): eventType is FileSelectionEventType;
1324
- export function isFileSelectionInput(element: any): element is HTMLInputElement; function fireEvent(element: Element | Document | Window, eventType: KeyboardEventType, options?: any): Promise<Event>; function fireEvent(element: Element | Document | Window, eventType: MouseEventType, options?: any): Promise<Event | void>; function fireEvent(element: Element | Document | Window, eventType: string, options?: any): Promise<Event>;
1327
+ export function isFileSelectionEventType(eventType: any): eventType is FileSelectionEventType;
1328
+ export function isFileSelectionInput(element: any): element is HTMLInputElement;
1329
+ function fireEvent(element: Element | Document | Window, eventType: KeyboardEventType, options?: any): Promise<Event>;
1330
+ function fireEvent(element: Element | Document | Window, eventType: MouseEventType, options?: any): Promise<Event | void>;
1331
+ function fireEvent(element: Element | Document | Window, eventType: string, options?: any): Promise<Event>;
1325
1332
  export default fireEvent;
1326
- export function _buildKeyboardEvent(type: KeyboardEventType, options?: any): Event;
1333
+ export function _buildKeyboardEvent(type: KeyboardEventType, options?: any): Event;
1327
1334
  //# sourceMappingURL=fire-event.d.ts.map
1328
1335
  }
1329
1336
  declare module '@ember/test-helpers/dom/trigger-key-event' {
1330
- import { type KeyboardEventType } from '@ember/test-helpers/dom/fire-event';
1331
- import type { Target } from '@ember/test-helpers/dom/-target';
1337
+ import { type KeyboardEventType } from '@ember/test-helpers/dom/fire-event';
1338
+ import type { Target } from '@ember/test-helpers/dom/-target';
1332
1339
  export interface KeyModifiers {
1333
1340
  ctrlKey?: boolean;
1334
1341
  altKey?: boolean;
@@ -1343,7 +1350,7 @@ declare module '@ember/test-helpers/dom/trigger-key-event' {
1343
1350
  @param {Object} [modifiers] the state of various modifier keys
1344
1351
  @return {Promise<Event>} resolves when settled
1345
1352
  */
1346
- export function __triggerKeyEvent__(element: Element | Document, eventType: KeyboardEventType, key: number | string, modifiers?: KeyModifiers): Promise<Event>;
1353
+ export function __triggerKeyEvent__(element: Element | Document, eventType: KeyboardEventType, key: number | string, modifiers?: KeyModifiers): Promise<Event>;
1347
1354
  /**
1348
1355
  Triggers a keyboard event of given type in the target element.
1349
1356
  It also requires the developer to provide either a string with the [`key`](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values)
@@ -1371,7 +1378,7 @@ declare module '@ember/test-helpers/dom/trigger-key-event' {
1371
1378
  //# sourceMappingURL=trigger-key-event.d.ts.map
1372
1379
  }
1373
1380
  declare module '@ember/test-helpers/dom/fill-in' {
1374
- import { type Target } from '@ember/test-helpers/dom/-target';
1381
+ import { type Target } from '@ember/test-helpers/dom/-target';
1375
1382
  /**
1376
1383
  Fill the provided text into the `value` property (or set `.innerHTML` when
1377
1384
  the target is a content editable element) then trigger `change` and `input`
@@ -1393,7 +1400,7 @@ declare module '@ember/test-helpers/dom/fill-in' {
1393
1400
  //# sourceMappingURL=fill-in.d.ts.map
1394
1401
  }
1395
1402
  declare module '@ember/test-helpers/dom/select' {
1396
- import type { Target } from '@ember/test-helpers/dom/-target';
1403
+ import type { Target } from '@ember/test-helpers/dom/-target';
1397
1404
  /**
1398
1405
  Set the `selected` property true for the provided option the target is a
1399
1406
  select element (or set the select property true for multiple options if the
@@ -1421,7 +1428,7 @@ declare module '@ember/test-helpers/dom/select' {
1421
1428
  //# sourceMappingURL=select.d.ts.map
1422
1429
  }
1423
1430
  declare module '@ember/test-helpers/dom/wait-for' {
1424
- import { type IDOMElementDescriptor } from 'dom-element-descriptors';
1431
+ import { type IDOMElementDescriptor } from 'dom-element-descriptors';
1425
1432
  export interface Options {
1426
1433
  timeout?: number;
1427
1434
  count?: number | null;
@@ -1479,7 +1486,7 @@ declare module '@ember/test-helpers/dom/find-all' {
1479
1486
  //# sourceMappingURL=find-all.d.ts.map
1480
1487
  }
1481
1488
  declare module '@ember/test-helpers/dom/type-in' {
1482
- import { type Target } from '@ember/test-helpers/dom/-target';
1489
+ import { type Target } from '@ember/test-helpers/dom/-target';
1483
1490
  export interface Options {
1484
1491
  delay?: number;
1485
1492
  }
@@ -1511,7 +1518,7 @@ declare module '@ember/test-helpers/dom/type-in' {
1511
1518
  //# sourceMappingURL=type-in.d.ts.map
1512
1519
  }
1513
1520
  declare module '@ember/test-helpers/dom/scroll-to' {
1514
- import type { IDOMElementDescriptor } from 'dom-element-descriptors';
1521
+ import type { IDOMElementDescriptor } from 'dom-element-descriptors';
1515
1522
  /**
1516
1523
  Scrolls DOM element, selector, or descriptor to the given coordinates.
1517
1524
  @public
@@ -1532,7 +1539,7 @@ declare module '@ember/test-helpers/dom/scroll-to' {
1532
1539
  //# sourceMappingURL=scroll-to.d.ts.map
1533
1540
  }
1534
1541
  declare module '@ember/test-helpers/dom/wait-for-focus' {
1535
- import { type IDOMElementDescriptor } from 'dom-element-descriptors';
1542
+ import { type IDOMElementDescriptor } from 'dom-element-descriptors';
1536
1543
  export interface Options {
1537
1544
  timeout?: number;
1538
1545
  count?: number | null;
@@ -1559,46 +1566,47 @@ declare module '@ember/test-helpers/dom/wait-for-focus' {
1559
1566
  //# sourceMappingURL=wait-for-focus.d.ts.map
1560
1567
  }
1561
1568
  declare module '@ember/test-helpers' {
1562
- import type { Backburner, DeferredActionQueues } from '@ember/runloop/-private/backburner';
1563
- export { setResolver, getResolver } from '@ember/test-helpers/resolver';
1564
- export { getApplication, setApplication } from '@ember/test-helpers/application';
1565
- export { default as hasEmberVersion } from '@ember/test-helpers/has-ember-version';
1566
- export type { BaseContext, DeprecationFailure, TestContext, Warning, SetupContextOptions, } from '@ember/test-helpers/setup-context';
1567
- export { default as setupContext, getContext, setContext, unsetContext, pauseTest, resumeTest, getDeprecations, getDeprecationsDuringCallback, getWarnings, getWarningsDuringCallback, } from '@ember/test-helpers/setup-context';
1568
- export { default as teardownContext } from '@ember/test-helpers/teardown-context';
1569
- export type { TeardownContextOptions } from '@ember/test-helpers/teardown-context';
1570
- export { default as setupRenderingContext, render, clearRender, } from '@ember/test-helpers/setup-rendering-context';
1571
- export type { RenderingTestContext } from '@ember/test-helpers/setup-rendering-context';
1572
- export { default as rerender } from '@ember/test-helpers/rerender';
1573
- export { default as setupApplicationContext, visit, currentRouteName, currentURL, } from '@ember/test-helpers/setup-application-context';
1574
- export { default as settled, isSettled, getSettledState } from '@ember/test-helpers/settled';
1575
- export { default as waitUntil } from '@ember/test-helpers/wait-until';
1576
- export { default as validateErrorHandler } from '@ember/test-helpers/validate-error-handler';
1577
- export { default as setupOnerror, resetOnerror } from '@ember/test-helpers/setup-onerror';
1578
- export type { default as DebugInfo } from '@ember/test-helpers/-internal/debug-info';
1579
- export { getDebugInfo } from '@ember/test-helpers/-internal/debug-info';
1580
- export { default as registerDebugInfoHelper } from '@ember/test-helpers/-internal/debug-info-helpers';
1581
- export type { TestMetadata } from '@ember/test-helpers/test-metadata';
1582
- export { default as getTestMetadata } from '@ember/test-helpers/test-metadata';
1583
- export { registerHook, runHooks, type Hook, type HookLabel, type HookUnregister, } from '@ember/test-helpers/helper-hooks';
1584
- export { default as click } from '@ember/test-helpers/dom/click';
1585
- export { default as doubleClick } from '@ember/test-helpers/dom/double-click';
1586
- export { default as tab } from '@ember/test-helpers/dom/tab';
1587
- export { default as tap } from '@ember/test-helpers/dom/tap';
1588
- export { default as focus } from '@ember/test-helpers/dom/focus';
1589
- export { default as blur } from '@ember/test-helpers/dom/blur';
1590
- export { default as triggerEvent } from '@ember/test-helpers/dom/trigger-event';
1591
- export { default as triggerKeyEvent } from '@ember/test-helpers/dom/trigger-key-event';
1592
- export { default as fillIn } from '@ember/test-helpers/dom/fill-in';
1593
- export { default as select } from '@ember/test-helpers/dom/select';
1594
- export { default as waitFor } from '@ember/test-helpers/dom/wait-for';
1595
- export { default as getRootElement } from '@ember/test-helpers/dom/get-root-element';
1596
- export { default as find } from '@ember/test-helpers/dom/find';
1597
- export { default as findAll } from '@ember/test-helpers/dom/find-all';
1598
- export { default as typeIn } from '@ember/test-helpers/dom/type-in';
1599
- export { default as scrollTo } from '@ember/test-helpers/dom/scroll-to';
1600
- export { default as waitForFocus } from '@ember/test-helpers/dom/wait-for-focus';
1601
- export type { Target } from '@ember/test-helpers/dom/-target'; module '@ember/runloop' {
1569
+ import type { Backburner, DeferredActionQueues } from '@ember/runloop/-private/backburner';
1570
+ export { setResolver, getResolver } from '@ember/test-helpers/resolver';
1571
+ export { getApplication, setApplication } from '@ember/test-helpers/application';
1572
+ export { default as hasEmberVersion } from '@ember/test-helpers/has-ember-version';
1573
+ export type { BaseContext, DeprecationFailure, TestContext, Warning, SetupContextOptions, } from '@ember/test-helpers/setup-context';
1574
+ export { default as setupContext, getContext, setContext, unsetContext, pauseTest, resumeTest, getDeprecations, getDeprecationsDuringCallback, getWarnings, getWarningsDuringCallback, } from '@ember/test-helpers/setup-context';
1575
+ export { default as teardownContext } from '@ember/test-helpers/teardown-context';
1576
+ export type { TeardownContextOptions } from '@ember/test-helpers/teardown-context';
1577
+ export { default as setupRenderingContext, render, clearRender, } from '@ember/test-helpers/setup-rendering-context';
1578
+ export type { RenderingTestContext } from '@ember/test-helpers/setup-rendering-context';
1579
+ export { default as rerender } from '@ember/test-helpers/rerender';
1580
+ export { default as setupApplicationContext, visit, currentRouteName, currentURL, } from '@ember/test-helpers/setup-application-context';
1581
+ export { default as settled, isSettled, getSettledState } from '@ember/test-helpers/settled';
1582
+ export { default as waitUntil } from '@ember/test-helpers/wait-until';
1583
+ export { default as validateErrorHandler } from '@ember/test-helpers/validate-error-handler';
1584
+ export { default as setupOnerror, resetOnerror } from '@ember/test-helpers/setup-onerror';
1585
+ export type { default as DebugInfo } from '@ember/test-helpers/-internal/debug-info';
1586
+ export { getDebugInfo } from '@ember/test-helpers/-internal/debug-info';
1587
+ export { default as registerDebugInfoHelper } from '@ember/test-helpers/-internal/debug-info-helpers';
1588
+ export type { TestMetadata } from '@ember/test-helpers/test-metadata';
1589
+ export { default as getTestMetadata } from '@ember/test-helpers/test-metadata';
1590
+ export { registerHook, runHooks, type Hook, type HookLabel, type HookUnregister, } from '@ember/test-helpers/helper-hooks';
1591
+ export { default as click } from '@ember/test-helpers/dom/click';
1592
+ export { default as doubleClick } from '@ember/test-helpers/dom/double-click';
1593
+ export { default as tab } from '@ember/test-helpers/dom/tab';
1594
+ export { default as tap } from '@ember/test-helpers/dom/tap';
1595
+ export { default as focus } from '@ember/test-helpers/dom/focus';
1596
+ export { default as blur } from '@ember/test-helpers/dom/blur';
1597
+ export { default as triggerEvent } from '@ember/test-helpers/dom/trigger-event';
1598
+ export { default as triggerKeyEvent } from '@ember/test-helpers/dom/trigger-key-event';
1599
+ export { default as fillIn } from '@ember/test-helpers/dom/fill-in';
1600
+ export { default as select } from '@ember/test-helpers/dom/select';
1601
+ export { default as waitFor } from '@ember/test-helpers/dom/wait-for';
1602
+ export { default as getRootElement } from '@ember/test-helpers/dom/get-root-element';
1603
+ export { default as find } from '@ember/test-helpers/dom/find';
1604
+ export { default as findAll } from '@ember/test-helpers/dom/find-all';
1605
+ export { default as typeIn } from '@ember/test-helpers/dom/type-in';
1606
+ export { default as scrollTo } from '@ember/test-helpers/dom/scroll-to';
1607
+ export { default as waitForFocus } from '@ember/test-helpers/dom/wait-for-focus';
1608
+ export type { Target } from '@ember/test-helpers/dom/-target';
1609
+ module '@ember/runloop' {
1602
1610
  interface PrivateBackburner extends Backburner {
1603
1611
  hasTimers(): boolean;
1604
1612
  currentInstance: DeferredActionQueues | null;
@@ -1607,13 +1615,14 @@ declare module '@ember/test-helpers' {
1607
1615
  //# sourceMappingURL=index.d.ts.map
1608
1616
  }
1609
1617
  declare module '@ember/test-helpers/-internal/build-registry' {
1610
- import type { Resolver } from '@ember/owner';
1611
- import EmberObject from '@ember/object';
1612
- import { Registry } from '@ember/-internals/container';
1613
- import type { FullName } from '@ember/owner';
1614
- import { ContainerProxyMixin, RegistryProxyMixin } from '@ember/-internals/runtime';
1618
+ import type { Resolver } from '@ember/owner';
1619
+ import EmberObject from '@ember/object';
1620
+ import { Registry } from '@ember/-internals/container';
1621
+ import type { FullName } from '@ember/owner';
1622
+ import { ContainerProxyMixin, RegistryProxyMixin } from '@ember/-internals/runtime';
1615
1623
  interface Owner extends RegistryProxyMixin, ContainerProxyMixin {
1616
- } const Owner: Readonly<typeof EmberObject> & (new (owner?: import("@ember/owner").default) => EmberObject) & import("@ember/object/mixin").default & {
1624
+ }
1625
+ const Owner: Readonly<typeof EmberObject> & (new (owner?: import("@ember/owner").default) => EmberObject) & import("@ember/object/mixin").default & {
1617
1626
  _emberTestHelpersMockOwner: boolean;
1618
1627
  /**
1619
1628
  * Unregister a factory and its instance.
@@ -1642,7 +1651,15 @@ declare module '@ember/test-helpers/-internal/build-registry' {
1642
1651
  //# sourceMappingURL=build-registry.d.ts.map
1643
1652
  }
1644
1653
  declare module '@ember/test-helpers/-internal/is-component' {
1645
- import type { ComponentLike } from '@glint/template'; function isComponent(maybeComponent: object): maybeComponent is ComponentLike;
1654
+ import type { ComponentLike } from '@glint/template';
1655
+ /**
1656
+ * We should ultimately get a new API from @glimmer/runtime that provides this functionality
1657
+ * (see https://github.com/emberjs/rfcs/pull/785 for more info).
1658
+ * @private
1659
+ * @param {Object} maybeComponent The thing you think might be a component
1660
+ * @returns {boolean} True if it's a component, false if not
1661
+ */
1662
+ function isComponent(maybeComponent: object): maybeComponent is ComponentLike;
1646
1663
  export default isComponent;
1647
1664
  //# sourceMappingURL=is-component.d.ts.map
1648
1665
  }
@@ -1664,7 +1681,7 @@ declare module '@ember/test-helpers/-internal/render-settled' {
1664
1681
  //# sourceMappingURL=render-settled.d.ts.map
1665
1682
  }
1666
1683
  declare module '@ember/test-helpers/dom/-get-description' {
1667
- import type { Target } from '@ember/test-helpers/dom/-target';
1684
+ import type { Target } from '@ember/test-helpers/dom/-target';
1668
1685
  /**
1669
1686
  Used internally by the DOM interaction helpers to get a description of a
1670
1687
  target for debug/error messaging.
@@ -1677,18 +1694,31 @@ declare module '@ember/test-helpers/dom/-get-description' {
1677
1694
  //# sourceMappingURL=-get-description.d.ts.map
1678
1695
  }
1679
1696
  declare module '@ember/test-helpers/dom/-get-element' {
1680
- import { type Target } from '@ember/test-helpers/dom/-target';
1681
- import { type IDOMElementDescriptor } from 'dom-element-descriptors'; function getElement<K extends keyof (HTMLElementTagNameMap | SVGElementTagNameMap)>(target: K): (HTMLElementTagNameMap[K] | SVGElementTagNameMap[K]) | null; function getElement<K extends keyof HTMLElementTagNameMap>(target: K): HTMLElementTagNameMap[K] | null; function getElement<K extends keyof SVGElementTagNameMap>(target: K): SVGElementTagNameMap[K] | null; function getElement(target: string): Element | null; function getElement(target: Element): Element; function getElement(target: IDOMElementDescriptor): Element | null; function getElement(target: Document): Document; function getElement(target: Window): Document; function getElement(target: string | IDOMElementDescriptor): Element | null; function getElement(target: Target): Element | Document | null;
1697
+ import { type Target } from '@ember/test-helpers/dom/-target';
1698
+ import { type IDOMElementDescriptor } from 'dom-element-descriptors';
1699
+ function getElement<K extends keyof (HTMLElementTagNameMap | SVGElementTagNameMap)>(target: K): (HTMLElementTagNameMap[K] | SVGElementTagNameMap[K]) | null;
1700
+ function getElement<K extends keyof HTMLElementTagNameMap>(target: K): HTMLElementTagNameMap[K] | null;
1701
+ function getElement<K extends keyof SVGElementTagNameMap>(target: K): SVGElementTagNameMap[K] | null;
1702
+ function getElement(target: string): Element | null;
1703
+ function getElement(target: Element): Element;
1704
+ function getElement(target: IDOMElementDescriptor): Element | null;
1705
+ function getElement(target: Document): Document;
1706
+ function getElement(target: Window): Document;
1707
+ function getElement(target: string | IDOMElementDescriptor): Element | null;
1708
+ function getElement(target: Target): Element | Document | null;
1682
1709
  export default getElement;
1683
1710
  //# sourceMappingURL=-get-element.d.ts.map
1684
1711
  }
1685
1712
  declare module '@ember/test-helpers/dom/-get-elements' {
1686
- import { type IDOMElementDescriptor } from 'dom-element-descriptors'; function getElements(target: string): NodeListOf<Element>; function getElements(target: IDOMElementDescriptor): Iterable<Element>; function getElements(target: string | IDOMElementDescriptor): Iterable<Element>;
1713
+ import { type IDOMElementDescriptor } from 'dom-element-descriptors';
1714
+ function getElements(target: string): NodeListOf<Element>;
1715
+ function getElements(target: IDOMElementDescriptor): Iterable<Element>;
1716
+ function getElements(target: string | IDOMElementDescriptor): Iterable<Element>;
1687
1717
  export default getElements;
1688
1718
  //# sourceMappingURL=-get-elements.d.ts.map
1689
1719
  }
1690
1720
  declare module '@ember/test-helpers/dom/-get-window-or-element' {
1691
- import { type Target } from '@ember/test-helpers/dom/-target';
1721
+ import { type Target } from '@ember/test-helpers/dom/-target';
1692
1722
  /**
1693
1723
  Used internally by the DOM interaction helpers to find either window or an element.
1694
1724
 
@@ -1696,7 +1726,7 @@ declare module '@ember/test-helpers/dom/-get-window-or-element' {
1696
1726
  @param {string|Element} target the window, an element or selector to retrieve
1697
1727
  @returns {Element|Window} the target or selector
1698
1728
  */
1699
- export function getWindowOrElement(target: Target): Element | Document | Window | null;
1729
+ export function getWindowOrElement(target: Target): Element | Document | Window | null;
1700
1730
  //# sourceMappingURL=-get-window-or-element.d.ts.map
1701
1731
  }
1702
1732
  declare module '@ember/test-helpers/dom/-is-form-control' {
@@ -1710,7 +1740,7 @@ declare module '@ember/test-helpers/dom/-is-form-control' {
1710
1740
  //# sourceMappingURL=-is-form-control.d.ts.map
1711
1741
  }
1712
1742
  declare module '@ember/test-helpers/dom/-guard-for-maxlength' {
1713
- import type { FormControl } from '@ember/test-helpers/dom/-is-form-control';
1743
+ import type { FormControl } from '@ember/test-helpers/dom/-is-form-control';
1714
1744
  /**
1715
1745
  * @private
1716
1746
  * @param {Element} element - the element to check
@@ -1740,7 +1770,7 @@ declare module '@ember/test-helpers/dom/-is-select-element' {
1740
1770
  //# sourceMappingURL=-is-select-element.d.ts.map
1741
1771
  }
1742
1772
  declare module '@ember/test-helpers/dom/-logging' {
1743
- import type { Target } from '@ember/test-helpers/dom/-target';
1773
+ import type { Target } from '@ember/test-helpers/dom/-target';
1744
1774
  /**
1745
1775
  * Logs a debug message to the console if the `testHelperLogging` query
1746
1776
  * parameter is set.
@@ -1749,7 +1779,7 @@ declare module '@ember/test-helpers/dom/-logging' {
1749
1779
  * @param {string} helperName Name of the helper
1750
1780
  * @param {string|Element} target The target element or selector
1751
1781
  */
1752
- export function log(helperName: string, target: Target, ...args: any[]): void;
1782
+ export function log(helperName: string, target: Target, ...args: any[]): void;
1753
1783
  /**
1754
1784
  * This generates a human-readable description to a DOM element.
1755
1785
  *
@@ -1757,7 +1787,7 @@ declare module '@ember/test-helpers/dom/-logging' {
1757
1787
  * @param {*} el The element that should be described
1758
1788
  * @returns {string} A human-readable description
1759
1789
  */
1760
- export function elementToString(el: unknown): string;
1790
+ export function elementToString(el: unknown): string;
1761
1791
  //# sourceMappingURL=-logging.d.ts.map
1762
1792
  }
1763
1793
  declare module '@ember/test-helpers/dom/-to-array' {