import type { ApolloClient, DocumentNode, OperationVariables, TypedDocumentNode } from "@apollo/client"; import type { ReactNode } from "react"; import React from "react"; import type { PreloadTransportedQueryOptions, TransportedQueryRef } from "./transportedQueryRef.js"; /** @deprecated use `PreloadQuery.Options` instead */ export type PreloadQueryOptions = PreloadQuery.Options; export declare namespace PreloadQuery { type Options = PreloadTransportedQueryOptions & { query: DocumentNode | TypedDocumentNode; }; type Props = PreloadQuery.Options & { children: ReactNode | ((queryRef: TransportedQueryRef, NoInfer>) => ReactNode); }; } export declare function PreloadQuery({ getClient, children, query, ...transportedOptions }: PreloadQuery.Props & { getClient: () => ApolloClient | Promise; }): Promise; //# sourceMappingURL=PreloadQuery.d.ts.map