aftermarket amps will likely have speaker level or rca cables to get the music signal to the factory amp, this is what you need to find out.
so look at the back of the current deck and the factory amp, it should be easy enough to see what the amp gets it's signal from.
your aftermarket deck...