> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Type Alias: Query

> **Query** = (`container`: `HTMLElement`, ...`args`: `any`\[]) => `Error` | `HTMLElement` | `HTMLElement`\[] | `Promise`\<`HTMLElement`\[]> | `Promise`\<`HTMLElement`> | `null`

## Parameters

| Parameter   | Type          |
| ----------- | ------------- |
| `container` | `HTMLElement` |
| ...`args`   | `any`\[]      |

## Returns

`Error` | `HTMLElement` | `HTMLElement`\[] | `Promise`\<`HTMLElement`\[]> | `Promise`\<`HTMLElement`> | `null`
