import { ResultItem } from "../types/result-types"; import { Expressions } from "../types/groq-expressions"; declare module "../groq-builder" { interface GroqBuilder { /** * Used to pipe a list of results through the `score(...)` GROQ function. * * This method supports strongly-typed expressions, but has limitations. * Please use `scoreRaw` if you need to use more complex expressions. */ score(...scoreExpressions: Array, TQueryConfig>>): GroqBuilder & { _score: number; }>, TQueryConfig>; /** * Used to pipe a list of results through the `score(...)` GROQ function. * * This method is NOT strongly-typed. * Please use the strongly-typed `score` for simple expressions. */ scoreRaw(...scoreExpressions: Array, TQueryConfig>>): GroqBuilder & { _score: number; }>, TQueryConfig>; } }