/**
 * BUG-025b — resolve where features-audit should write `*.json`.
 * See module header for the 4-step order. Returns `{ writeRoot, redirect_notice }`
 * on success or a synthetic error envelope (`{ error: { ... } }`) on the
 * ambiguous-worktree case.
 *
 * @internal — exported for unit testing.
 *
 * @param {{projectDir: string, taskId?: string | null, noRedirect?: boolean}} args
 * @returns {{writeRoot?: string, redirect_notice?: string | null, error?: {kind: string, message: string, active_worktree_tasks: string[]}}}
 */
export function resolveWriteRoot({ projectDir, taskId, noRedirect }: {
    projectDir: string;
    taskId?: string | null;
    noRedirect?: boolean;
}): {
    writeRoot?: string;
    redirect_notice?: string | null;
    error?: {
        kind: string;
        message: string;
        active_worktree_tasks: string[];
    };
};
export function cmdFeaturesAudit(projectDir: any, extraArgs: any): import("../util/result.mjs").CommandResult;
//# sourceMappingURL=features-audit.d.mts.map