type GqlOperation = { name?: string; type?: 'query' | 'mutation'; }; type GraphQLError = { message?: string; locations?: { line: number; column: number; }[]; extensions?: { code?: string; [key: string]: any; }; }; type GqlResponse = { data?: T; errors?: GraphQLError[]; }; declare class GqlError extends Error { name: 'GqlError'; status?: number; operation?: GqlOperation; gqlErrors?: GraphQLError[] | undefined; constructor(message: string, args: { status?: number; operation?: GqlOperation; gqlErrors?: GraphQLError[]; }); } export { GqlOperation as G, GraphQLError as a, GqlResponse as b, GqlError as c };