This is normally a function of two arguments, the first being of type state_data_type and the second of type input_data_type.
For an aggregate that does not examine its input values, the function takes just one argument of type state_data_type.