import Registry from "@magda/typescript-common/dist/registry/AuthorizedRegistryClient.js"; import MinionOptions from "./MinionOptions.js"; declare class Crawler { private isCrawling; private crawlingPageToken; private crawledRecordNumber; private crawlerPromise; private registry; private options; constructor(registry: Registry, options: MinionOptions); private resetCrawler; getProgress(): { isCrawling: boolean; crawlingPageToken: string; crawledRecordNumber: number; }; start(): Promise; /** * allow in-process crawling to be waited by other program */ waitForCrawling(): Promise; isInProgress(): boolean; private crawlExistingRecords; } export default Crawler;