import { Command } from 'commander'; interface StartOptions { profile?: string; workspace?: string; appId?: string; appSecret?: string; tenant?: string; } declare function buildProgram(): Command; declare function main(argv?: readonly string[]): Promise; /** * True when this module is being executed directly (e.g. `node dist/cli.js run`) * rather than imported by a bin wrapper. The background service runs * `node /dist/cli.js run`, so the bundle must self-execute in that case. */ declare function isDirectInvocation(entry?: string | undefined, metaUrl?: string): boolean; export { type StartOptions, buildProgram, isDirectInvocation, main };