import { Selection, getArrayFields, getFields, prepass, selectFields, type FetchOptions, type GQtyError } from 'gqty'; import * as React from 'react'; export declare const IS_BROWSER: boolean; export declare const useIsomorphicLayoutEffect: typeof React.useLayoutEffect; export type LegacyFetchPolicy = 'cache-and-network' | 'cache-first' | 'network-only' | 'no-cache'; export declare const legacyFetchPolicyMap: Record; export declare const translateFetchPolicy: (fetchPolicy: LegacyFetchPolicy) => FetchOptions["cachePolicy"]; export type SelectionsOrProxy = (Selection | T)[]; export declare const useExtractedSelections: (input?: SelectionsOrProxy) => Set; export type List = Set | Array; export declare function toSetIfNeeded(list: List): Set; export declare function isSelectionIncluded(selection: Selection, selectionList: List): boolean; export declare function isAnySelectionIncluded(selectionsToCheck: List, selectionsList: List): boolean; export declare function isAnySelectionIncludedInMatrix(selectionsToCheck: List, selectionsMatrix: List>): boolean; export type OnErrorHandler = (error: GQtyError) => void; export declare const coreHelpers: { prepass: typeof prepass; getFields: typeof getFields; getArrayFields: typeof getArrayFields; selectFields: typeof selectFields; castNotSkeleton: (v: T) => import("gqty").NotSkeleton; castNotSkeletonDeep: (v: T) => import("gqty").NotSkeletonDeep; }; export declare function uniqBy(list: TNode[], cb?: (node: TNode) => unknown): TNode[]; export declare function sortBy(list: TNode[], cb: (node: TNode) => number | string, order?: 'asc' | 'desc'): TNode[];