import type { ExecutionResult } from 'graphql'; export interface Type { __args?: Record; __type: string; } export declare const SchemaUnionsKey: unique symbol; export interface Schema extends Record | undefined> { query: Record; mutation?: Record; subscription?: Record; [SchemaUnionsKey]?: Record; } export interface Scalars { String: string; Int: number; Float: number; ID: string; } export type ScalarsEnumsHash = Record; export type QueryFetcher> = (payload: QueryPayload, fetchOptions?: Omit) => Promise> | ExecutionResult; export type QueryPayload = Record> = { readonly query: string; readonly variables?: Record; readonly operationName?: string; readonly extensions?: TExtension; }; export interface ParseSchemaTypeInfo { pureType: string; isNullable: boolean; hasDefaultValue: boolean; isArray: boolean; nullableItems: boolean; } export interface FieldDescription { description?: string | null; deprecated?: string | null; defaultValue?: string | null; } export type ArgsDescriptions = Record>; export declare const parseSchemaType: (type: string, fieldDesc?: FieldDescription | undefined) => ParseSchemaTypeInfo; export type GeneratedSchemaObject = Record> = T & { __typename?: string; };