function indexOfKey<TRow>(collection: QueryCollection<TRow>, key: string): Effect.Effect<number | undefined, ViewError>; The position of the row with key in a query collection's current query, or undefined when no row has it: what a search scrolls to with QueryViewportController.scrollToIndex.