import * as actions from "@nteract/actions";
import { AppState, IContentProvider } from "@nteract/types";
import { StateObservable } from "redux-observable";
import { Observable } from "rxjs";
/**
 * First step in publishing notebooks to bookstore.
 * Saves notebook using the `content` API. Then,
 * kicks off an action that saves the notebook
 * to `Bookstore`.
 *
 * @param action$ Action type.
 * @param state$  Application state.
 */
export declare function publishToBookstore(action$: Observable<actions.PublishToBookstore>, state$: StateObservable<AppState>, dependencies: {
    contentProvider: IContentProvider;
}): Observable<unknown>;
/**
 * Last step in publishing notebooks to bookstore.
 * Saves notebook to `Bookstore`.
 *
 * @param action$ Action type.
 * @param state$  Application state.
 */
export declare function publishToBookstoreAfterSave(action$: Observable<actions.PublishToBookstoreAfterSave>, state$: StateObservable<AppState>): Observable<void | actions.PublishToBookstoreFailed>;
