/** * Parsed CLI flags. All optional — env vars cover the same surface. * CLI takes precedence over env so per-config overrides work even when the * user shares the same shell across MCP clients. */ interface ParsedArgs { help: boolean; logout: boolean; forceLogin: boolean; /** Approve the project-local credentials found from the working directory * (WALM-639). A repo file is inert until this has been run for it. */ approveProject: boolean; /** Withdraw that approval again. */ revokeProject: boolean; relayerUrl?: string; webUrl?: string; label?: string; namespace?: string; /** `auto-save on|off|status` — the automatic-memory opt-in (WALM-642). */ autoSave?: "on" | "off" | "status"; /** `status` / `whoami` — print current credential info and exit. */ status: boolean; /** Args parseArgs did not recognise, in the order seen. For a flag * written `--key=value`, only `--key` is recorded — see parseArgs. */ unknown: string[]; } export declare function parseArgs(argv: string[]): ParsedArgs; export declare function main(argv?: string[]): Promise; /** The `--help` body. Exported so tests can assert it stays in step with the * flags parseArgs actually accepts. */ export declare function helpText(): string; export { loadCreds, saveCreds, clearCreds, credsPath, resolveCreds, approveProjectCreds, revokeProjectCredsApproval, formatProjectCredsNotice, formatProjectCredsStorageWarning, } from "./auth.js"; export { isAutoSaveEnabled, isConsentPending, autoSaveStatus, setAutoSave, markConsentPending, publishHookState, settingsPath, hookStatePath, } from "./auto-save.js"; export { askAutoSaveConsent, interpretConsentAnswer, CONSENT_PROMPT } from "./consent.js"; export { loginFlow } from "./login.js"; export { runBridge } from "./bridge.js"; export type { MemWalCredentials, CredsResolution, ProjectCredsDecision } from "./auth.js"; //# sourceMappingURL=index.d.ts.map