import type { NormalizeMetaShape } from './metadataShapes.js'; import type { FormattedExecutionResult } from 'graphql'; export type { NormalizeMetaShape }; export interface graphqlNormalizeOptions { action: 'read' | 'write'; variableValues: Record; meta: NormalizeMetaShape; cache: Record; operationResult?: FormattedExecutionResult; currentResult?: FormattedExecutionResult['data']; isEqual?: (a: any, b: any) => boolean; } export interface SyncWithCacheResult { added: number; modified: number; cache: Record; result: Exclude; } export declare function graphqlNormalize(options: graphqlNormalizeOptions): SyncWithCacheResult;