export declare const ui: { header: (msg: string) => void; ok: (msg: string) => void; warn: (msg: string) => void; error: (msg: string) => void; info: (key: string, val: string) => void; step: (msg: string) => void; blank: () => void; }; export declare function requireRoot(): void; /** * Yes/no prompt. Returns false when stdin isn't a TTY (so scripted callers must * pass an explicit --yes flag rather than hanging or silently proceeding). */ export declare function confirm(question: string): Promise;