import { Source, BaseLoaderOptions, Loader } from '@graphql-tools/utils'; export declare type LoadTypedefsOptions = BaseLoaderOptions & ExtraConfig & { cache?: { [key: string]: Source; }; loaders: Loader[]; filterKinds?: string[]; sort?: boolean; }; export declare type UnnormalizedTypeDefPointer = { [key: string]: any; } | string; /** * Asynchronously loads any GraphQL documents (i.e. executable documents like * operations and fragments as well as type system definitions) from the * provided pointers. * @param pointerOrPointers Pointers to the sources to load the documents from * @param options Additional options */ export declare function loadTypedefs>(pointerOrPointers: UnnormalizedTypeDefPointer | UnnormalizedTypeDefPointer[], options: LoadTypedefsOptions>): Promise; /** * Synchronously loads any GraphQL documents (i.e. executable documents like * operations and fragments as well as type system definitions) from the * provided pointers. * @param pointerOrPointers Pointers to the sources to load the documents from * @param options Additional options */ export declare function loadTypedefsSync>(pointerOrPointers: UnnormalizedTypeDefPointer | UnnormalizedTypeDefPointer[], options: LoadTypedefsOptions>): Source[];