import { KernelInfo, KernelspecRecord, LanguageInfoMetadata } from "@nteract/types"; import { Action, ErrorAction, HasContent, HasKernel } from "../utils"; export declare const SET_KERNEL_INFO = "CORE/SET_KERNEL_INFO"; export declare const SET_KERNEL_METADATA = "SET_KERNEL_METADATA"; export declare const SET_LANGUAGE_INFO = "SET_LANGUAGE_INFO"; export declare const KERNEL_RAW_STDOUT = "KERNEL_RAW_STDOUT"; export declare const KERNEL_RAW_STDERR = "KERNEL_RAW_STDERR"; export declare const DELETE_CONNECTION_FILE_FAILED = "DELETE_CONNECTION_FILE_FAILED"; export declare const DELETE_CONNECTION_FILE_SUCCESSFUL = "DELETE_CONNECTION_FILE_SUCCESSFUL"; export declare type SetKernelInfo = Action; export declare type SetKernelMetadata = Action; export declare type SetLanguageInfo = Action; export declare type KernelRawStdout = Action; export declare type KernelRawStderr = Action; export declare type DeleteConnectionFileFailedAction = ErrorAction; export declare type DeleteConnectionFileSuccessfulAction = Action; export declare const setKernelInfo: { (payload: HasKernel & { info: KernelInfo; }): { type: "CORE/SET_KERNEL_INFO"; payload: HasKernel & { info: KernelInfo; }; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"info", keyof U>>) => { type: "CORE/SET_KERNEL_INFO"; payload: HasKernel & { info: KernelInfo; }; }; }; export declare const setKernelMetadata: { (payload: HasContent & { kernelInfo: KernelspecRecord; }): { type: "SET_KERNEL_METADATA"; payload: HasContent & { kernelInfo: KernelspecRecord; }; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"kernelInfo", keyof U>>) => { type: "SET_KERNEL_METADATA"; payload: HasContent & { kernelInfo: KernelspecRecord; }; }; }; export declare const setLanguageInfo: { (payload: HasContent & HasKernel & { langInfo: LanguageInfoMetadata; }): { type: "SET_LANGUAGE_INFO"; payload: HasContent & HasKernel & { langInfo: LanguageInfoMetadata; }; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"kernelRef", keyof U> | import("utility-types").SetDifference<"langInfo", keyof U>>) => { type: "SET_LANGUAGE_INFO"; payload: HasContent & HasKernel & { langInfo: LanguageInfoMetadata; }; }; }; export declare const kernelRawStdout: { (payload: HasKernel & { text: string; }): { type: "KERNEL_RAW_STDOUT"; payload: HasKernel & { text: string; }; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"text", keyof U>>) => { type: "KERNEL_RAW_STDOUT"; payload: HasKernel & { text: string; }; }; }; export declare const kernelRawStderr: { (payload: HasKernel & { text: string; }): { type: "KERNEL_RAW_STDERR"; payload: HasKernel & { text: string; }; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"text", keyof U>>) => { type: "KERNEL_RAW_STDERR"; payload: HasKernel & { text: string; }; }; }; export declare const deleteConnectionFileFailed: (payload: HasKernel & { error: Error; code?: string | undefined; }) => { type: "DELETE_CONNECTION_FILE_FAILED"; payload: HasKernel & { error: Error; code?: string | undefined; }; error: true; }; export declare const deleteConnectionFileSuccessful: { (payload: HasKernel): { type: "DELETE_CONNECTION_FILE_SUCCESSFUL"; payload: HasKernel; }; with>(partial: U): (payload: Pick>) => { type: "DELETE_CONNECTION_FILE_SUCCESSFUL"; payload: HasKernel; }; };