import { Interrupt } from './interrupt' ; import { uint16 , uint8 } from './types' ; export interface Mapper { read ( addr ) : uint8 ; write ( addr , data ) : void ; handlePPUClock ( scanLine , cycle ) : void ; interrupt : Interrupt ; }