Trump says rape accuser 'totally lying' and 'not my type'

US President Donald Trump has said a writer who has accused him of raping her is "totally lying" and is "not my type".