I want to create a ref cursor type in database, so that I can declare variables of this type in sql developer command window using following statement :
variable PO_Ref_Csr_Out RefCursorTyp;
In the declaration RefCursorTyp is the stored ref cursor type in database
I want to use this PO_Ref_Csr_Out variable in Anonymous pl/sql block to test some procedures.
How to create this RefCursorTyp in database?
I am not aware about how to create type in database.

If you are asking how to make a strongly-typed cursor then create a package and define the type in that:
Then when you want to use it in PL/SQL you can:
fiddle