import { AppState, KernelRef } from "@nteract/types"; /** * Returns a map of the available kernels keyed by the * kernel ref. * * @param state The state of the nteract application * * @returns The kernels by ref */ export declare const kernelsByRef: (state: AppState) => import("immutable").Map; /** * Returns the kernel associated with a given KernelRef. * * @param state The state of the nteract application * @param { kernelRef: KernelRef} An object containing the KernelRef * * @returns The kernel for the KernelRef */ export declare const kernel: (state: AppState, { kernelRef }: { kernelRef?: string | undefined; }) => import("immutable").RecordOf | import("immutable").RecordOf | import("immutable").RecordOf | null; /** * Returns the KernelRef for the kernel the nteract application is currently * connected to. * * @param state The state of the nteract application * * @returns The KernelRef for the kernel */ export declare const currentKernelRef: (state: AppState) => string | null; /** * Returns the kernelspec of the kernel that we are currently connected to. * Returns null if there is no kernel. */ export declare const currentKernel: import("reselect").OutputSelector | import("immutable").RecordOf | import("immutable").RecordOf | null | undefined, (res1: string | null, res2: import("immutable").Map) => import("immutable").RecordOf | import("immutable").RecordOf | import("immutable").RecordOf | null | undefined>; /** * Returns the type of the kernel the nteract application is currently * connected to. Returns `null` if there is no kernel. */ export declare const currentKernelType: import("reselect").OutputSelector | import("immutable").RecordOf | import("immutable").RecordOf | null | undefined) => "unknown" | "websocket" | "zeromq" | null>; /** * Returns the state of the kernel the nteract application is currently * connected to. Returns "not connected" if there is no kernel. */ export declare const currentKernelStatus: import("reselect").OutputSelector | import("immutable").RecordOf | import("immutable").RecordOf | null | undefined) => string>;