import { Variables } from 'graphql-request/dist/types';
export declare const gqlFetch: <T = any>({ endpoint, query, variables, headers, }: {
    endpoint: string;
    query: string;
    variables?: Variables | undefined;
    headers?: Record<string, string> | undefined;
}) => Promise<T>;
export declare const gqlFetchAll: <T = any>({ query, endpoint, variables, dataToSearch, first, lastId, prevResults, }: {
    query: string;
    endpoint: string;
    variables?: Variables | undefined;
    dataToSearch: string;
    lastId?: string | undefined;
    first?: number | undefined;
    prevResults?: T | undefined;
}) => Promise<T>;
