import type { Selection } from '../../Selection'; export declare enum LegacySelectionType { Query = 0, Mutation = 1, Subscription = 2 } export type LegacySelectionConstructorArgs = { id: number; key: string | number; prevSelection?: LegacySelection; type?: LegacySelectionType; operationName?: string; alias?: string; args?: Record; argTypes?: Record; unions?: string[]; }; export declare class LegacySelection { id: string; key: string | number; type: LegacySelectionType; operationName?: string; unions?: string[]; args?: Readonly>; argTypes?: Readonly>; alias?: string; cachePath: readonly (string | number)[]; pathString: string; selectionsList: readonly LegacySelection[]; noIndexSelections: readonly LegacySelection[]; prevSelection: LegacySelection | null; currentCofetchSelections: Set | null; constructor({ key, prevSelection, args, argTypes, type, operationName, alias, unions, id, }: LegacySelectionConstructorArgs); addCofetchSelections(selections: LegacySelection[] | Set): void; get cofetchSelections(): Set | null; } export declare const convertSelection: (selection: Selection, selectionId?: number, operationName?: string) => LegacySelection;