How to implement filters using @looker/visualizations and a Dashboard filter

1. we are using @looker/visualization
2. we are using dashboardId as part of query to get data from Looker. sample code as below
<DataProvider sdk={sdk}>
<Query dashboard={dashboardId}>
<CustomVis config={undefined} fields={undefined} data={undefined} pivots={undefined} />
</Query>
</DataProvider>
3. there are external filters in the react code which should be in-sync with filter attributes available in the dashboard which we referenced in the Point 2 as a dashboard id.

5. when external filter (react ones) changes, new filter values from react should update the dashboard filters and accordingly new data should be made available to Query tag so that visualization takes new data

I’m not sure if this is possible or how to do it! I copypasted your post into Gemini and the results seemed reasonable so that may be worth a try?