import { ApiClient } from './api-client.js'; declare function isDaemonUnreachable(err: unknown): boolean; /** Commander action callbacks receive parsed .option() values with loose types. */ type ActionOpts = Record; declare const VERIFY_COLLECTION_TIMEOUT_MIN_MS = 1000; declare const VERIFY_COLLECTION_TIMEOUT_MAX_MS: number; declare function cliSleep(ms: number): Promise; declare function cliErrorMessage(err: unknown): string; declare const STARTUP_BANNER = "\n\u001B[36m\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557\n\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2554\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2588\u2588\u2588\u2588\u2557\n\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2551 \u2588\u2588\u2588\u2557 \u2588\u2588\u2551 \u2588\u2588\u2551\u255A\u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2554\u2588\u2588\u2551\n\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2588\u2588\u2557 \u2588\u2588\u2551 \u2588\u2588\u2551 \u255A\u2588\u2588\u2557 \u2588\u2588\u2554\u255D \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2551\n\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2551 \u2588\u2588\u2557\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u255A\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2551\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\n\u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D\u001B[0m\n"; declare function normalizeVersionTagRef(input: string): string; declare function getCliVersion(): string; declare function parseOptionalVerifyTimeoutOption(raw: unknown): number | undefined; declare function loadStructuredFile(filePath: string): any; declare function loadQuadsFromInput(opts: ActionOpts, defaultGraph: string): Promise>; declare function resolveDaemonEntryPoint(): string; declare function probeHostForApiHost(apiHost: string | undefined): string; declare function selectedDkgHomeForEnv(env: NodeJS.ProcessEnv): string; declare function withSelectedDkgHome(env: NodeJS.ProcessEnv): NodeJS.ProcessEnv; type CatchupStatusCommandOptions = { watch?: boolean; interval?: string | number; }; declare function printCatchupStatus(status: Awaited>): void; declare function runCatchupStatusCommand(contextGraph: string, opts: CatchupStatusCommandOptions): Promise; declare function printMessage(m: { ts: number; direction: string; peer: string; text: string; }, selfName: string, nameMap?: Map): void; declare function shortId(peerId: string): string; declare function formatUptime(ms: number): string; declare function publishEntityBatches(quads: Array<{ subject: string; predicate: string; object: string; graph: string; }>, applyBatch: (batch: Array<{ subject: string; predicate: string; object: string; graph: string; }>) => Promise, onProgress?: (publishedQuadCount: number) => void, options?: { maxBatchBytes?: number; estimateBatchBytes?: (batch: Array<{ subject: string; predicate: string; object: string; graph: string; }>) => number; splitOversizedEntities?: boolean; }): Promise; declare function formatPublisherJobOutput(value: T): T; declare function formatPublisherJobValue(value: unknown, key?: string): unknown; declare function stripQuotes(s: string): string; declare function formatQuadObject(object: string): string; declare function sleep(ms: number): Promise; /** Returns true if daemon was stopped (or not running). False if it couldn't be stopped. */ declare function stopDaemonIfRunning(): Promise; export { isDaemonUnreachable, VERIFY_COLLECTION_TIMEOUT_MIN_MS, VERIFY_COLLECTION_TIMEOUT_MAX_MS, cliSleep, cliErrorMessage, STARTUP_BANNER, normalizeVersionTagRef, getCliVersion, parseOptionalVerifyTimeoutOption, loadStructuredFile, loadQuadsFromInput, resolveDaemonEntryPoint, probeHostForApiHost, selectedDkgHomeForEnv, withSelectedDkgHome, printCatchupStatus, runCatchupStatusCommand, printMessage, shortId, formatUptime, publishEntityBatches, formatPublisherJobOutput, formatPublisherJobValue, stripQuotes, formatQuadObject, sleep, stopDaemonIfRunning, }; export type { ActionOpts, CatchupStatusCommandOptions }; //# sourceMappingURL=cli-helpers.d.ts.map