When you perform a ticket export, a 'Reply' or 'Public note' will be considered as an interaction, whereas a private note will not. However, when you are setting up an automation rule (under Admin > Workflows > Automations > Ticket updates ), and use the 'Last interaction' under 'On tickets with these properties' condition, private notes would also be considered as interaction along with replies and public notes.