import type { bootstrap } from '@fetchproxy/bootstrap'; import { type Io } from './output.js'; import { type VerbServerFactory } from './verbs/fetch.js'; export interface CliDeps { home?: string; identityDir?: string; /** * Where the extension pins live, when that is not the identity directory. * Tests that pass only `identityDir` keep the pin beside the * identity, which is where a `FETCHPROXY_TRUST_DIR`-less installation * writes it. */ trustDir?: string; makeServer?: VerbServerFactory; bootstrapFn?: typeof bootstrap; readFile?: (p: string) => string; /** The whole of stdin, for `fpx write-cookies --from-stdin`. */ readStdin?: () => string; } export declare function runCli(argv: string[], io: Io, deps?: CliDeps): Promise;