You mean, the BPMN2 modeler for Eclipse? or the Web Process Designer?
Process variables as you mention are defined at process level, so usually you need to click on the background (not any activity) and then define the types of your variables. Then at runtime you will provide the real instances using for example ksession.startProcess(<process id>, <Map with process variables>);
Cheers