import { GraphQLError } from 'graphql'; export declare type FNSJSErrorName = 'FNSJSSubgraphError'; export declare class FNSJSError extends Error { name: string; errors?: GraphQLError[]; data?: T; constructor({ data, errors }: { data?: T; errors?: GraphQLError[]; }); } export declare const getClientErrors: (e: unknown) => GraphQLError[]; export declare const debugSubgraphError: (request: any) => void; export declare const debugSubgraphLatency: () => Promise | undefined;