import { type DataLoaderOptions } from "https://deno.land/x/pothos@release-1670043728/packages/plugin-dataloader/index.ts";
definition: { load: (keys: Key[], context: Types["Context"]) => Promise<(Error | Shape)[]>; loaderOptions?: DataLoader.Options<Key, Shape, CacheKey>; } & ({ toKey: (value: Shape) => Key; cacheResolved?: boolean; sort?: boolean; } | { toKey?: undefined; cacheResolved?: (value: Shape) => Key; sort?: (value: Shape) => Key; })