import * as actions from "@nteract/actions";
import { KernelspecProps } from "@nteract/types";
import { Observable } from "rxjs";
export declare const fetchKernelspecsEpic: (action$: Observable<actions.FetchKernelspecs>, state$: any) => Observable<{
    type: "CORE/FETCH_KERNELSPECS_FULFILLED";
    payload: import("@nteract/actions/lib/utils").HasKernelspecs & import("@nteract/actions/lib/utils").HasHost & {
        defaultKernelName: string;
        kernelspecs: {
            [kernelspec: string]: KernelspecProps;
        };
    };
} | {
    type: "CORE/FETCH_KERNELSPECS_FAILED";
    payload: import("@nteract/actions/lib/utils").HasKernelspecs & {
        error: Error;
        code?: string | undefined;
    };
    error: true;
}>;
