Actually company value is determined by the projected future free cash flow available to shareholders in the future. While the shareholders may not actually get the money in cash, they do have a claim to the cash flow. In theory, on an annual shareholders' meeting, by means of a proxy enough votes could be gathered to ensure the company has to do exactly what the shareholders want. Of course this is tedious, and is in practice rarely done, but in theory it is possible.
Now of course, equity holders (shareholders) have a secondary claim on the assets of a company after debt holders. The equity holders have a direct claim on what remains after paying off the debts. Often the company reinvests this money and it's called Cash Flow for Investing Activities. The point is that legally, and in principle, this belongs to shareholders. The point it's all about the (perhaps hypothetical) legal claim. There doesn't have to be an actual cash distribution to value a company. Instead, valuation is done with the cash that could have been accrued to the shareholders had they collected their votes and voted.
Source: Berk and Demarzo, Corporate Finance, part on valuation (can't recall edition, was a while ago since I took the course)
Now of course, equity holders (shareholders) have a secondary claim on the assets of a company after debt holders. The equity holders have a direct claim on what remains after paying off the debts. Often the company reinvests this money and it's called Cash Flow for Investing Activities. The point is that legally, and in principle, this belongs to shareholders. The point it's all about the (perhaps hypothetical) legal claim. There doesn't have to be an actual cash distribution to value a company. Instead, valuation is done with the cash that could have been accrued to the shareholders had they collected their votes and voted.
Source: Berk and Demarzo, Corporate Finance, part on valuation (can't recall edition, was a while ago since I took the course)