import * as http from 'http' ; import * as mapid from '../../../../node_modules/mirakurun/api' ; import Reserve from '../../../db/entities/Reserve' ; interface IRecordingStreamCreator { setTuner ( tuners ) : void ; create ( reserve ) : Promise < http . IncomingMessage > ; changeEndAt ( reserve ) : void ; } namespace IRecordingStreamCreator { export const PREP_TIME = 15 * 1000 ; } export default IRecordingStreamCreator ;