import { CellId, CellType, ImmutableCell } from "@nteract/commutable"; import { Action, HasCell, HasContent, MaybeHasCell } from "../utils"; export declare const CREATE_CELL_BELOW = "CREATE_CELL_BELOW"; export declare const CREATE_CELL_ABOVE = "CREATE_CELL_ABOVE"; export declare const CREATE_CELL_APPEND = "CREATE_CELL_APPEND"; export declare const MOVE_CELL = "MOVE_CELL"; export declare const DELETE_CELL = "DELETE_CELL"; export declare const CUT_CELL = "CUT_CELL"; export declare const COPY_CELL = "COPY_CELL"; export declare const PASTE_CELL = "PASTE_CELL"; export declare type CreateCellBelow = Action; export declare type CreateCellAbove = Action; export declare type CreateCellAppend = Action; export declare type MoveCell = Action; export declare type DeleteCell = Action; export declare type CutCell = Action; export declare type CopyCell = Action; export declare type PasteCell = Action; export declare const createCellBelow: { (payload: MaybeHasCell & { cellType: CellType; cell?: import("immutable").RecordOf | import("immutable").RecordOf | import("immutable").RecordOf | undefined; }): { type: "CREATE_CELL_BELOW"; payload: MaybeHasCell & { cellType: CellType; cell?: import("immutable").RecordOf | import("immutable").RecordOf | import("immutable").RecordOf | undefined; }; }; with | import("immutable").RecordOf | import("immutable").RecordOf | undefined; }>>(partial: U): (payload: Pick | import("immutable").RecordOf | import("immutable").RecordOf | undefined; }, import("utility-types").SetDifference<"contentRef", keyof U> | import("utility-types").SetDifference<"id", keyof U> | import("utility-types").SetDifference<"cellType", keyof U> | import("utility-types").SetDifference<"cell", keyof U>>) => { type: "CREATE_CELL_BELOW"; payload: MaybeHasCell & { cellType: CellType; cell?: import("immutable").RecordOf | import("immutable").RecordOf | import("immutable").RecordOf | undefined; }; }; }; export declare const createCellAbove: { (payload: MaybeHasCell & { cellType: CellType; cell?: import("immutable").RecordOf | import("immutable").RecordOf | import("immutable").RecordOf | undefined; }): { type: "CREATE_CELL_ABOVE"; payload: MaybeHasCell & { cellType: CellType; cell?: import("immutable").RecordOf | import("immutable").RecordOf | import("immutable").RecordOf | undefined; }; }; with | import("immutable").RecordOf | import("immutable").RecordOf | undefined; }>>(partial: U): (payload: Pick | import("immutable").RecordOf | import("immutable").RecordOf | undefined; }, import("utility-types").SetDifference<"contentRef", keyof U> | import("utility-types").SetDifference<"id", keyof U> | import("utility-types").SetDifference<"cellType", keyof U> | import("utility-types").SetDifference<"cell", keyof U>>) => { type: "CREATE_CELL_ABOVE"; payload: MaybeHasCell & { cellType: CellType; cell?: import("immutable").RecordOf | import("immutable").RecordOf | import("immutable").RecordOf | undefined; }; }; }; export declare const createCellAppend: { (payload: HasContent & { cellType: CellType; cell?: import("immutable").RecordOf | import("immutable").RecordOf | import("immutable").RecordOf | undefined; }): { type: "CREATE_CELL_APPEND"; payload: HasContent & { cellType: CellType; cell?: import("immutable").RecordOf | import("immutable").RecordOf | import("immutable").RecordOf | undefined; }; }; with | import("immutable").RecordOf | import("immutable").RecordOf | undefined; }>>(partial: U): (payload: Pick | import("immutable").RecordOf | import("immutable").RecordOf | undefined; }, import("utility-types").SetDifference<"contentRef", keyof U> | import("utility-types").SetDifference<"cellType", keyof U> | import("utility-types").SetDifference<"cell", keyof U>>) => { type: "CREATE_CELL_APPEND"; payload: HasContent & { cellType: CellType; cell?: import("immutable").RecordOf | import("immutable").RecordOf | import("immutable").RecordOf | undefined; }; }; }; export declare const moveCell: { (payload: HasCell & { destinationId: CellId; above: boolean; }): { type: "MOVE_CELL"; payload: HasCell & { destinationId: CellId; above: boolean; }; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"id", keyof U> | import("utility-types").SetDifference<"destinationId", keyof U> | import("utility-types").SetDifference<"above", keyof U>>) => { type: "MOVE_CELL"; payload: HasCell & { destinationId: CellId; above: boolean; }; }; }; export declare const deleteCell: { (payload: MaybeHasCell): { type: "DELETE_CELL"; payload: MaybeHasCell; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"id", keyof U>>) => { type: "DELETE_CELL"; payload: MaybeHasCell; }; }; export declare const cutCell: { (payload: MaybeHasCell): { type: "CUT_CELL"; payload: MaybeHasCell; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"id", keyof U>>) => { type: "CUT_CELL"; payload: MaybeHasCell; }; }; export declare const copyCell: { (payload: MaybeHasCell): { type: "COPY_CELL"; payload: MaybeHasCell; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"id", keyof U>>) => { type: "COPY_CELL"; payload: MaybeHasCell; }; }; export declare const pasteCell: { (payload: HasContent): { type: "PASTE_CELL"; payload: HasContent; }; with>(partial: U): (payload: Pick>) => { type: "PASTE_CELL"; payload: HasContent; }; };