Because the action is hypothetical I think the imperfective is used.

But it depends on the context:
Не знаю, о чём говорить - I don't know what to talk about (imp.)
Не знаю, что сказать - I don't know what to say (perf.)