Displays an alert message indicating the remaining time left for recording.

const options = {
timeLeft: 30,
showAlert: (alert) => console.log(alert.message),
};

timeLeftRecording(options);
// Output: "The recording will stop in less than 30 seconds."