import { type GraphQLSchema } from 'graphql';
import { type GQtyConfig } from '../../config';
export declare class FetchError extends Error {
    readonly request: RequestInit;
    readonly response: Response;
    readonly name = "FetchError";
    constructor(request: RequestInit, response: Response);
}
export type FetchSchemasOptions = {
    headers?: Record<string, string>;
    headersByEndpoint?: GQtyConfig['introspections'];
    silent?: boolean;
};
export declare const fetchSchemas: (endpoints: string[], options: FetchSchemasOptions) => Promise<GraphQLSchema>;
export declare const isURL: (input: string) => boolean;
