import { IContentLoaderInfo, IPollArguments } from "./types"; export declare const errorMessages: { default: string; noPageFound: string; }; /** * The polling fn for the ContentLoader component to poll for node manifest files for the users Gatsby site */ export declare const poll: (pollArgs: IPollArguments) => Promise; /** * This hook polls for node manifest files and handles polling timeouts when the build queue has gone idle for too long with no manifest file being found. */ declare const useNodeManifestPoll: ({ contentLoaderInfo, shouldPoll, manifestId, sourcePluginName, siteId, pollCallback, }: { contentLoaderInfo: IContentLoaderInfo | undefined; shouldPoll: boolean; manifestId: string; sourcePluginName: string; siteId: string; pollCallback?: () => void; }) => { redirectUrl?: string; loadingDuration: number; errorMessage: string | null; }; export default useNodeManifestPoll; //# sourceMappingURL=index.d.ts.map