import { Action, ErrorAction } from "../utils"; export declare const OPEN_MODAL = "CORE/OPEN_MODAL"; export declare const CLOSE_MODAL = "CORE/CLOSE_MODAL"; export declare const SET_GITHUB_TOKEN = "SET_GITHUB_TOKEN"; export declare const ADD_TRANSFORM = "ADD_TRANSFORM"; export declare const REMOVE_TRANSFORM = "REMOVE_TRANSFORM"; export declare const ERROR = "CORE/ERROR"; export declare const TOGGLE_SIDEBAR = "TOGGLE_SIDEBAR"; export declare const ADD_EDITOR = "ADD_EDITOR"; export declare type OpenModal = Action; export declare type CloseModal = Action; export declare type SetGithubTokenAction = Action; export declare type AddTransform = Action; export declare type RemoveTransform = Action; export declare type CoreError = ErrorAction; export declare type ToggleSidebar = Action; export declare type AddEditor = Action; export declare const openModal: { (payload: { modalType: string; }): { type: "CORE/OPEN_MODAL"; payload: { modalType: string; }; }; with>(partial: U): (payload: Pick<{ modalType: string; }, import("utility-types").SetDifference<"modalType", keyof U>>) => { type: "CORE/OPEN_MODAL"; payload: { modalType: string; }; }; }; export declare const closeModal: { (payload: void): { type: "CORE/CLOSE_MODAL"; payload: void; }; with(partial: U): (payload: Pick) => { type: "CORE/CLOSE_MODAL"; payload: void; }; }; export declare const setGithubToken: { (payload: { githubToken: string; }): { type: "SET_GITHUB_TOKEN"; payload: { githubToken: string; }; }; with>(partial: U): (payload: Pick<{ githubToken: string; }, import("utility-types").SetDifference<"githubToken", keyof U>>) => { type: "SET_GITHUB_TOKEN"; payload: { githubToken: string; }; }; }; export declare const addTransform: { (payload: { mediaType: string; component: any; }): { type: "ADD_TRANSFORM"; payload: { mediaType: string; component: any; }; }; with>(partial: U): (payload: Pick<{ mediaType: string; component: any; }, import("utility-types").SetDifference<"mediaType", keyof U> | import("utility-types").SetDifference<"component", keyof U>>) => { type: "ADD_TRANSFORM"; payload: { mediaType: string; component: any; }; }; }; export declare const removeTransform: { (payload: { mediaType: string; component: any; }): { type: "REMOVE_TRANSFORM"; payload: { mediaType: string; component: any; }; }; with>(partial: U): (payload: Pick<{ mediaType: string; component: any; }, import("utility-types").SetDifference<"mediaType", keyof U> | import("utility-types").SetDifference<"component", keyof U>>) => { type: "REMOVE_TRANSFORM"; payload: { mediaType: string; component: any; }; }; }; export declare const coreError: (payload: Error) => { type: "CORE/ERROR"; payload: Error; error: true; }; export declare const toggleSidebar: { (payload: void): { type: "TOGGLE_SIDEBAR"; payload: void; }; with(partial: U): (payload: Pick) => { type: "TOGGLE_SIDEBAR"; payload: void; }; }; export declare const addEditor: { (payload: { editorType: string; component: any; }): { type: "ADD_EDITOR"; payload: { editorType: string; component: any; }; }; with>(partial: U): (payload: Pick<{ editorType: string; component: any; }, import("utility-types").SetDifference<"component", keyof U> | import("utility-types").SetDifference<"editorType", keyof U>>) => { type: "ADD_EDITOR"; payload: { editorType: string; component: any; }; }; };