Police and the wanted level in GTA 6: stars, Heat icons and escaping

The police only appear after a crime is reported. This is an unofficial description from a guide.
How the police find out
Witnesses, alarms, trackers in stolen cars or a patrol that sees the act can report it. Cameras do not call the police, but they record your appearance.
Stars
There are four states and six levels. Empty stars mean a report where the offender is unknown, solid white means an active pursuit, and flashing white means you have been lost. Red means a search by description in the area. Police cars are not visible on the minimap, and the map flashes red and blue when the police are close.
Heat icons
Red icons show what the police know: your appearance, clothing, car, weapon, camera footage and that you are working with the other character. You remove each separately: with a mask or hairstyle, a change of outfit, abandoning or repainting the car, holstering the weapon, destroying the recording and separating Jason and Lucia.
Escaping
Leave the red zone, remove the icons and do not return until the zone disappears. At a higher level a motorcycle or escaping on foot through alleys works better.
Consequences
After an arrest or death you lose the cash in your pockets and the loot you carry, so after a bigger heist go straight to a fence or an ATM.
Release-week data, unofficial, compiled in my own words. It may change after patches and Rockstar announcements.
Frequently asked questions
Do cameras call the police?
No, but they record your appearance.
What do I lose after an arrest?
The cash in your pockets and the loot you carry.