import { FetchResult, Operation } from '@apollo/client/core'; import { Breadcrumb as SentryBreadcrumb } from '@sentry/core'; import { FullOptions } from './options'; export interface BreadcrumbData { url?: string; query?: string; variables?: Record; operationName?: string; fetchResult?: FetchResult | string; error?: Error; cache?: Record; context?: Record; } export interface GraphQLBreadcrumb extends SentryBreadcrumb { data: BreadcrumbData; } export declare function makeBreadcrumb(operation: Operation, options: FullOptions): GraphQLBreadcrumb;