> 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: QueryMethod\<Arguments _extends_ `any`\[], Return>

> **QueryMethod**\<`Arguments` _extends_ `any`\[], `Return`> = (`container`: `HTMLElement`, ...`args`: `Arguments`) => `Return`

query methods have a common call signature. Only the return type differs.

## Type Parameters

| Type Parameter                 |
| ------------------------------ |
| `Arguments` _extends_ `any`\[] |
| `Return`                       |

## Parameters

| Parameter   | Type          |
| ----------- | ------------- |
| `container` | `HTMLElement` |
| ...`args`   | `Arguments`   |

## Returns

`Return`
