import { FetchFunction } from './types.js'; import { Schema } from '../interface.js'; import { Denormalize } from '../types.js'; /** What the function's promise resolves to */ export type ResolveType any> = ReturnType extends Promise ? R : never; /** Fallback to schema if fetch function isn't defined */ export type InferReturn = S extends undefined ? ReturnType : ReturnType extends unknown ? Promise> : ReturnType; //# sourceMappingURL=utility.d.ts.map