import { Action, ErrorAction, HasContent, HasFilepath, HasKernel } from "../utils"; export declare const FETCH_CONTENT = "CORE/FETCH_CONTENT"; export declare const FETCH_CONTENT_FULFILLED = "CORE/FETCH_CONTENT_FULFILLED"; export declare const FETCH_CONTENT_FAILED = "CORE/FETCH_CONTENT_FAILED"; export declare const DOWNLOAD_CONTENT = "CORE/DOWNLOAD_CONTENT"; export declare const DOWNLOAD_CONTENT_FULFILLED = "CORE/DOWNLOAD_CONTENT_FULFILLED"; export declare const DOWNLOAD_CONTENT_FAILED = "CORE/DOWNLOAD_CONTENT_FAILED"; export declare const SAVE = "SAVE"; export declare const SAVE_FULFILLED = "SAVE_FULFILLED"; export declare const SAVE_FAILED = "SAVE_FAILED"; export declare const SAVE_AS = "SAVE_AS"; export declare const SAVE_AS_FULFILLED = "SAVE_AS_FULFILLED"; export declare const SAVE_AS_FAILED = "SAVE_AS_FAILED"; export declare type FetchContent = Action; export declare type FetchContentFulfilled = Action; export declare type FetchContentFailed = ErrorAction; export declare type DownloadContent = Action; export declare type DownloadContentFulfilled = Action; export declare type DownloadContentFailed = ErrorAction; export declare type Save = Action; export declare type SaveFulfilled = Action; export declare type SaveFailed = ErrorAction; export declare type SaveAs = Action; export declare type SaveAsFulfilled = Action; export declare type SaveAsFailed = ErrorAction; export declare const fetchContent: { (payload: HasContent & HasKernel & HasFilepath & { params: object; }): { type: "CORE/FETCH_CONTENT"; payload: HasContent & HasKernel & HasFilepath & { params: object; }; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"kernelRef", keyof U> | import("utility-types").SetDifference<"filepath", keyof U> | import("utility-types").SetDifference<"params", keyof U>>) => { type: "CORE/FETCH_CONTENT"; payload: HasContent & HasKernel & HasFilepath & { params: object; }; }; }; export declare const fetchContentFulfilled: { (payload: HasContent & HasKernel & HasFilepath & { model: any; created?: Date | undefined; lastSaved?: Date | undefined; }): { type: "CORE/FETCH_CONTENT_FULFILLED"; payload: HasContent & HasKernel & HasFilepath & { model: any; created?: Date | undefined; lastSaved?: Date | undefined; }; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"kernelRef", keyof U> | import("utility-types").SetDifference<"filepath", keyof U> | import("utility-types").SetDifference<"model", keyof U> | import("utility-types").SetDifference<"created", keyof U> | import("utility-types").SetDifference<"lastSaved", keyof U>>) => { type: "CORE/FETCH_CONTENT_FULFILLED"; payload: HasContent & HasKernel & HasFilepath & { model: any; created?: Date | undefined; lastSaved?: Date | undefined; }; }; }; export declare const fetchContentFailed: (payload: HasContent & HasKernel & HasFilepath & { error: Error; code?: string | undefined; }) => { type: "CORE/FETCH_CONTENT_FAILED"; payload: HasContent & HasKernel & HasFilepath & { error: Error; code?: string | undefined; }; error: true; }; export declare const downloadContent: { (payload: HasContent): { type: "CORE/DOWNLOAD_CONTENT"; payload: HasContent; }; with>(partial: U): (payload: Pick>) => { type: "CORE/DOWNLOAD_CONTENT"; payload: HasContent; }; }; export declare const downloadContentFulfilled: { (payload: HasContent): { type: "CORE/DOWNLOAD_CONTENT_FULFILLED"; payload: HasContent; }; with>(partial: U): (payload: Pick>) => { type: "CORE/DOWNLOAD_CONTENT_FULFILLED"; payload: HasContent; }; }; export declare const downloadContentFailed: (payload: HasContent & { error: Error; code?: string | undefined; }) => { type: "CORE/DOWNLOAD_CONTENT_FAILED"; payload: HasContent & { error: Error; code?: string | undefined; }; error: true; }; export declare const save: { (payload: HasContent): { type: "SAVE"; payload: HasContent; }; with>(partial: U): (payload: Pick>) => { type: "SAVE"; payload: HasContent; }; }; export declare const saveFulfilled: { (payload: HasContent & { model: any; }): { type: "SAVE_FULFILLED"; payload: HasContent & { model: any; }; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"model", keyof U>>) => { type: "SAVE_FULFILLED"; payload: HasContent & { model: any; }; }; }; export declare const saveFailed: (payload: HasContent & { error: Error; code?: string | undefined; }) => { type: "SAVE_FAILED"; payload: HasContent & { error: Error; code?: string | undefined; }; error: true; }; export declare const saveAs: { (payload: HasContent & HasFilepath): { type: "SAVE_AS"; payload: HasContent & HasFilepath; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"filepath", keyof U>>) => { type: "SAVE_AS"; payload: HasContent & HasFilepath; }; }; export declare const saveAsFulfilled: { (payload: HasContent & { model: any; }): { type: "SAVE_AS_FULFILLED"; payload: HasContent & { model: any; }; }; with>(partial: U): (payload: Pick | import("utility-types").SetDifference<"model", keyof U>>) => { type: "SAVE_AS_FULFILLED"; payload: HasContent & { model: any; }; }; }; export declare const saveAsFailed: (payload: HasContent & { error: Error; code?: string | undefined; }) => { type: "SAVE_AS_FAILED"; payload: HasContent & { error: Error; code?: string | undefined; }; error: true; };