import { TypedDocumentNode } from "@graphql-typed-document-node/core";
import { DocumentNode } from "graphql";
import { Variables } from "graphql-request";
type RequestDocument = string | DocumentNode;
export declare type BatchRequestDocument<V = Variables> = {
    document: RequestDocument;
    variables?: V;
};
export declare class SubgraphClient {
    readonly subgraphUrl: string;
    constructor(subgraphUrl: string);
    request<T, V extends Variables = Variables>(document: RequestDocument | TypedDocumentNode<T, V>, variables?: V): Promise<T>;
}
export {};
//# sourceMappingURL=SubgraphClient.d.ts.map