import { ITidyUITheme } from '../theme/types'; import { ActionMap } from './types'; /** * Page actions */ export declare enum PageActions { SetTheme = "SET_THEME", SetTitle = "SET_TITLE" } /** * Page payload */ declare type PagePayload = { /** * Sets the title */ [PageActions.SetTitle]: { /** * Title */ title?: string; }; /** * Sets theme */ [PageActions.SetTheme]: { /** * Theme */ theme?: ITidyUITheme; }; }; /** * Page action types */ export declare type PageActionTypes = ActionMap[keyof ActionMap]; export {};