import { CharacterId, AssistantInsetsCommand, AssistantSmartAppData } from '@sberdevices/assistant-client'; import { Action as StateAction } from '../utils/createAction'; export declare type AssistantInsets = AssistantInsetsCommand['insets']; export interface UIState { character: CharacterId; insets: AssistantInsets; } export interface History { name: N; data: T; } export interface AppState { history: History[]; ui: UIState; } export declare enum AppStateActionType { CHARACTER = "character", INSETS = "insets", PUSH_HISTORY = "pushHistory", REPLACE_PREVIOUS_HISTORY = "replacePreviousHistory", POP_HISTORY = "popHistory", CHANGE_ACTIVE_SCREEN_STATE = "changeActiveScreenState" } export interface Action> extends AssistantSmartAppData { smart_app_data: A; } export declare type CharacterAction = StateAction; export declare type InsetsAction = StateAction; export declare type PushHistoryAction = StateAction; export declare type ReplacePreviousHistoryAction = StateAction; export declare type PopHistoryAction = StateAction; export declare type ChangeStateAction = StateAction; export declare type PlasmaAction = Action | Action | Action | Action; export declare type PlasmaActionData = CharacterAction | InsetsAction | PlasmaAction['smart_app_data']; //# sourceMappingURL=types.d.ts.map