export type GraphQLErrorLocation = { line: number; column: number; }; export type GraphQLErrorEntry = { message: string; locations?: GraphQLErrorLocation[]; path?: (string | number)[]; extensions?: Record; }; export declare class GraphQLClientError extends Error { readonly errors: GraphQLErrorEntry[]; readonly status: number; constructor(errors: GraphQLErrorEntry[], status?: number); } export declare class NetworkError extends Error { readonly status: number; constructor(message: string, status: number); }