import { AppState, KernelspecsByRefRecord, KernelspecRecord } from "@nteract/types"; /** * Returns a ref to the kernelspec of the kernel the nteract application * is currently connected to. * * @param state The state of the nteract application * * @returns A ref to the kernelspec */ export declare const currentKernelspecsRef: (state: AppState) => string | null | undefined; /** * Returns a Map of the kernelspecs associated with each kernelspec ref. * * @param state The state of the nteract application * * @returns An association between a kernelspec ref and the kernelspec */ export declare const kernelspecsByRef: (state: AppState) => import("immutable").Map>; /** * Returns the kernelspec of the kernel that the nteract application is * currently connected to. */ export declare const currentKernelspecs: (state: AppState) => KernelspecsByRefRecord | null; export declare const kernelspecByName: (state: AppState, { name }: { name: string; }) => KernelspecRecord | null | undefined;