/**
 * Resolve the system-vs-user privilege level for a service lifecycle command.
 *
 * Five CLI verbs (install / start / stop / restart / uninstall) need to agree
 * on whether they're operating against the user-level service
 * (~/Library/LaunchAgents, `systemctl --user`) or the system-level one
 * (/Library/LaunchDaemons, `systemctl`). Default behavior (no flag) is to
 * auto-detect based on UID — non-root → user-level, root → system-level.
 *
 * Explicit `--system` / `--user-level` flags override the auto-detect.
 * They're mutually exclusive: passing both throws. Passing `--system`
 * without root throws with an actionable "re-run under sudo" message.
 */
export interface PrivilegeOpts {
    /** Force system-level install/lifecycle. Requires root. */
    system?: boolean;
    /** Force user-level install/lifecycle. */
    userLevel?: boolean;
}
export declare function resolveUserLevel(opts: PrivilegeOpts): boolean;
//# sourceMappingURL=privilege.d.ts.map