import { KernelspecInfo, KernelspecProps } from "@nteract/types"; import { Action, ErrorAction, HasContent, HasHost, HasKernelspecs } from "../utils"; export declare const FETCH_KERNELSPECS = "CORE/FETCH_KERNELSPECS"; export declare const FETCH_KERNELSPECS_FULFILLED = "CORE/FETCH_KERNELSPECS_FULFILLED"; export declare const FETCH_KERNELSPECS_FAILED = "CORE/FETCH_KERNELSPECS_FAILED"; export declare const SET_KERNELSPEC_INFO = "SET_KERNELSPEC_INFO"; export declare type FetchKernelspecs = Action; export declare type FetchKernelspecsFulfilled = Action; export declare type FetchKernelspecsFailed = ErrorAction; export declare type SetKernelspecInfo = Action; export declare const fetchKernelspecs: { (payload: HasKernelspecs & HasHost): { type: "CORE/FETCH_KERNELSPECS"; payload: HasKernelspecs & HasHost; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"hostRef", keyof U>>) => { type: "CORE/FETCH_KERNELSPECS"; payload: HasKernelspecs & HasHost; }; }; export declare const fetchKernelspecsFulfilled: { (payload: HasKernelspecs & HasHost & { defaultKernelName: string; kernelspecs: { [kernelspec: string]: KernelspecProps; }; }): { type: "CORE/FETCH_KERNELSPECS_FULFILLED"; payload: HasKernelspecs & HasHost & { defaultKernelName: string; kernelspecs: { [kernelspec: string]: KernelspecProps; }; }; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"hostRef", keyof U> | import("utility-types").SetDifference<"defaultKernelName", keyof U> | import("utility-types").SetDifference<"kernelspecs", keyof U>>) => { type: "CORE/FETCH_KERNELSPECS_FULFILLED"; payload: HasKernelspecs & HasHost & { defaultKernelName: string; kernelspecs: { [kernelspec: string]: KernelspecProps; }; }; }; }; export declare const fetchKernelspecsFailed: (payload: HasKernelspecs & { error: Error; code?: string | undefined; }) => { type: "CORE/FETCH_KERNELSPECS_FAILED"; payload: HasKernelspecs & { error: Error; code?: string | undefined; }; error: true; }; export declare const setKernelspecInfo: { (payload: HasContent & { kernelInfo: KernelspecInfo; }): { type: "SET_KERNELSPEC_INFO"; payload: HasContent & { kernelInfo: KernelspecInfo; }; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"kernelInfo", keyof U>>) => { type: "SET_KERNELSPEC_INFO"; payload: HasContent & { kernelInfo: KernelspecInfo; }; }; };