import { AppStoreReplay } from "../store" ; import { DocumentModel } from "./index" ; export function getBufferModel ( state , buffer ) { return state . buffers [ buffer ] ? state . buffers [ buffer ] . model : null ; }