# ComplexIntrospectionMatcher

This type represents an asynchronous function that takes an [IntrospectionModel](introspection-model) as the first parameter, the full regex match as the second parameter and the matched groups as varargs and returns the modified [IntrospectionModel](introspection-model). In TypeScript, the definition of this type would be:

{% code title="ComplexIntrospectionMatcher" %}
```typescript
type ComplexIntrospectionMatcher = (model: IntrospectionModel, match: string, ...groups: string[]) => Promise<IntrospectionModel>
```
{% endcode %}
