import { Config } from '@proload/core'; import { Logger } from 'caterpillar'; import { Configuration as CrawleeConfig } from 'crawlee'; import { ParsedUrl, UrlMutators } from '@autogram/url-tools'; import { ArangoStore } from '../index.js'; import { globalNormalizer } from './global-normalizer.js'; import { SpidergramConfig } from './spidergram-config.js'; import { SpiderCli } from '../cli/shared/index.js'; export declare class SpidergramError extends Error { } export declare class Spidergram { protected static _instance?: Spidergram; static get config(): SpidergramConfig; static get status(): { instantiated: boolean; initializing: boolean | undefined; initialized: boolean; loaded: boolean; configFile: string | undefined; arango: boolean; env: { [k: string]: string | undefined; }; }; static get defaults(): SpidergramConfig; /** * Initializes a copy of Spidergram */ static load(filePath?: string, reset?: boolean): Promise>; protected init(filePath?: string): Promise; protected loadConfigFile(filePath?: string): Promise; protected _needsInit: boolean; protected _initializing: boolean; protected _needsLoad: boolean; protected _loadedConfig?: Config; protected _activeConfig: T; protected _logger?: Logger; protected _arango?: ArangoStore; protected _crawleeConfig?: CrawleeConfig; protected _normalizer?: UrlMutators.UrlMutator; protected _cli?: SpiderCli; protected _version?: string; protected constructor(); get config(): T; get configFile(): string | undefined; get rawConfig(): any; setNormalizer(input: UrlMutators.UrlMutator): void; get normalizer(): UrlMutators.UrlMutator; get version(): string | undefined; /** * This is here so that custom config scripts can quickly reuse the * default normalizer with a few customizations — in addition to their * own more nuanced logic. */ get globalNormalizer(): typeof globalNormalizer; setArangoStore(input: ArangoStore): void; attemptArangoConnection(silent?: boolean): Promise; get hasArangoConnection(): boolean; get arango(): ArangoStore; files(bucket?: string): import("typefs").DiskDriver; get cli(): SpiderCli; setLogger(input: Logger): void; get logger(): Logger; setCrawleeConfig(input: CrawleeConfig): void; get crawlee(): CrawleeConfig; buildDefaultReports(): void; buildDefaultQueries(): void; } //# sourceMappingURL=spidergram.d.ts.map