///
import { BlockfrostWorker, BlockfrostWorkerConfig } from '../services';
import { CommonProgramOptions, PosgresProgramOptions } from '../options';
import { Logger } from 'ts-log';
import { SrvRecord } from 'dns';
export declare const BLOCKFROST_WORKER_API_URL_DEFAULT: URL;
export declare const CACHE_TTL_DEFAULT: number;
export declare const CREATE_SCHEMA_DEFAULT = false;
export declare const DROP_SCHEMA_DEFAULT = false;
export declare const DRY_RUN_DEFAULT = false;
export declare const SCAN_INTERVAL_DEFAULT = 60;
export declare const availableNetworks: readonly ["mainnet", "preprod", "preview", "sanchonet"];
export declare type AvailableNetworks = typeof availableNetworks[number];
export declare enum BlockfrostWorkerOptionDescriptions {
BlockfrostApiFile = "Blockfrost API Key file path",
BlockfrostApiKey = "Blockfrost API Key",
CacheTTL = "TTL of blockfrost cached metrics in minutes",
CreateSchema = "create the schema; useful for development",
DropSchema = "drop the schema; useful for development",
DryRun = "dry run; useful for tests",
Network = "network to run against",
ScanInterval = "interval between a scan and the next one in minutes"
}
export declare type BlockfrostWorkerArgs = CommonProgramOptions & PosgresProgramOptions<'DbSync'> & BlockfrostWorkerConfig & {
blockfrostApiFile?: string;
};
export interface LoadBlockfrostWorkerDependencies {
dnsResolver?: (serviceName: string) => Promise;
logger?: Logger;
}
export declare const loadBlockfrostWorker: (args: BlockfrostWorkerArgs, deps?: LoadBlockfrostWorkerDependencies) => Promise;
//# sourceMappingURL=blockfrostWorker.d.ts.map