UNPKG

453 BTypeScriptView Raw
1import type { SchemaFetcherOptions, ServicesFetcherOptions } from './internal/types';
2export declare function createSchemaFetcher({ endpoint, key }: SchemaFetcherOptions): () => Promise<{
3 sdl: string;
4 url: string;
5 name: string;
6 id: string;
7}>;
8export declare function createServicesFetcher({ endpoint, key }: ServicesFetcherOptions): () => Promise<{
9 sdl: string;
10 url: string;
11 name: string;
12 id: string;
13}[]>;