import { Stream } from '@motorcycle/types' /** * @name HistorySinks * @example * export type HistorySinks = { * readonly history$: Stream * } * @type */ export type HistorySinks = { readonly history$: Stream } /** * @name HistoryEffect * @example * export type HistoryEffect = (history: History) => void * @type */ export type HistoryEffect = (history: History) => void /** * @name HistorySources * @example * export type HistorySources = { * readonly location$: Stream> * readonly state$: Stream * } * @type */ export type HistorySources = { readonly location$: Stream> readonly state$: Stream }