import type { WatchQueryFetchPolicy } from "@apollo/client"; import type { CompiledArtefactModule } from "@graphitation/apollo-react-relay-duct-tape-compiler"; /** * @todo Rewrite this to mimic Relay's preload APIs * * @param documents Compiled execute and watch query documents that are used to * setup a narrow observable for just the data selected by the * original fragment. * @param options An object containing a variables field. */ export declare function useCompiledLazyLoadQuery(documents: CompiledArtefactModule, options: { variables: Record; fetchPolicy?: WatchQueryFetchPolicy; }): { data?: Record; error?: Error; }; //# sourceMappingURL=useCompiledLazyLoadQuery.d.ts.map