import type { ApolloError } from '@apollo/client'; import { errorDictionary } from '@velove/graphql'; export interface HandleErrorOptions { /** Allows to override error messages if needed */ dictionary?: Partial; } /** * Parse an ApolloError, check for potentially known "errorKey" in the "extensions" payload, and returns customer-safe, known messages. */ export declare function retrieveErrorMessages(apolloError: ApolloError, options?: HandleErrorOptions): string[];