import { introspection, OmnigraphScalars } from 'enssdk/omnigraph'; import { initGraphQLTada, TadaDocumentNode } from 'gql.tada'; export { FragmentOf, ResultOf, VariablesOf, readFragment } from 'gql.tada'; import { AnyVariables, OperationContext } from '@urql/core'; import { DocumentNode } from 'graphql'; import { UseQueryResponse } from 'urql'; import { EnsNodeClient } from 'enssdk/core'; import { ReactNode, ReactElement } from 'react'; declare const graphql: initGraphQLTada<{ introspection: typeof introspection; scalars: Omit & { BigInt: bigint; }; }>; type UseOmnigraphQueryArgs = { query: DocumentNode | TadaDocumentNode | string; variables?: Variables; pause?: boolean; context?: Partial; }; type UseOmnigraphQueryResult = UseQueryResponse; declare function useOmnigraphQuery(args: UseOmnigraphQueryArgs): UseOmnigraphQueryResult; interface OmnigraphProviderProps { client: EnsNodeClient; children?: ReactNode; } declare function OmnigraphProvider({ client, children }: OmnigraphProviderProps): ReactElement; export { OmnigraphProvider, type OmnigraphProviderProps, type UseOmnigraphQueryArgs, type UseOmnigraphQueryResult, graphql, useOmnigraphQuery };