| 10 | * @internal |
| 11 | */ |
| 12 | export interface Control { |
| 13 | readonly active: () => TestHost.TestElement | undefined |
| 14 | readonly input: (pointer: boolean) => void |
| 15 | readonly move: (to: TestHost.TestElement | undefined) => boolean | undefined |
| 16 | readonly watch: (root: TestHost.TestElement) => () => void |
| 17 | } |
| 18 | |
| 19 | /** @internal */ |
| 20 | export const controls = new WeakMap<object, Control>() |