/** * @flow strict */ "use strict"; type RecipientUserIds = number[]; type Worker = {| get_current_time: () => number, // as ms since epoch notify_server_start: RecipientUserIds => void, notify_server_stop: RecipientUserIds => void |}; declare export function update( worker: Worker, new_recipient: RecipientUserIds | null ): void;