import type * as graphql from 'graphql'; import type { Config } from '../../lib'; export declare function flattenSelections({ config, filepath, selections, fragmentDefinitions, applyFragments, }: { config: Config; filepath: string; selections: readonly graphql.SelectionNode[]; fragmentDefinitions: { [name: string]: graphql.FragmentDefinitionNode; }; applyFragments?: boolean; }): readonly graphql.SelectionNode[];