UNPKG

@brizy/media-gallery

Version:
14 lines (13 loc) 554 B
import { Action } from "redux"; export declare enum ActionTypes { Close = "pages:close", InsertFile = "pages:insertFile" } export type Close = Action<ActionTypes.Close>; export declare const close: () => Close; export declare const isClose: (a: Action) => a is Close; export type InsertFile = Action<ActionTypes.InsertFile>; export declare const insertFile: () => InsertFile; export declare const isInsertFile: (a: Action) => a is InsertFile; export type Actions = Close | InsertFile; export declare const isActions: (a: Action) => a is Actions;