import { AppState } from "@nteract/types" ; /**
 * Returns the Jupyter comms data for a given nteract application.
 */ export const comms = ( state ) => state . core . entities . comms ; /**
 * Returns the comms models that are stored in the nteract application state.
 */ export const models = ( state ) => state . core . entities . comms . models ; /**
 * Returns the registered comm targets that are stored in the nteract application state.
 */ export const targets = ( state ) => state . core . entities . comms . targets ; /**
 * Returns the information associated with currently registered comms.
 */ export const info = ( state ) => state . core . entities . comms . info ; param state param { commId } The export const modelById = ( state , { commId } ) => state . core . entities . comms . models . get ( commId ) ; param state param { commId } The export const targetById = ( state , { commId } ) => state . core . entities . comms . targets . get ( commId ) ; param state param { commId } The export const infoById = ( state , { commId } ) => state . core . entities . comms . info . get ( commId ) ;