import { IntrospectionField, IntrospectionInputValue, IntrospectionType } from 'graphql'; import { JSONSchema6 } from 'json-schema'; import { MemoListIterator } from 'lodash'; import type { IDTypeMapping as IDTypeMappingType } from './types'; export declare type JSONSchema6Acc = { [k: string]: JSONSchema6; }; declare type ReducerOptions = { nullableArrayItems?: boolean; idTypeMapping?: IDTypeMappingType; }; declare type GetRequiredFieldsType = ReadonlyArray; export declare const getRequiredFields: (fields: GetRequiredFieldsType) => string[]; export declare type IntrospectionFieldReducerItem = IntrospectionField | IntrospectionInputValue; export declare const introspectionFieldReducerGenerator: (options: ReducerOptions) => MemoListIterator>; export declare const resolveDefaultValue: (curr: any) => any; export declare const introspectionTypeReducer: (type: 'definitions' | 'properties', options: ReducerOptions) => MemoListIterator; export {};