import { Group, MetaAction } from '../types'; export declare enum ActionType { REQUEST = "APP::SESSION_TOKEN::REQUEST", RESPOND = "APP::SESSION_TOKEN::RESPOND" } export declare enum Action { REQUEST = "REQUEST", RESPOND = "RESPOND" } export interface Payload { sessionToken: string; } export interface ActionBase extends MetaAction { readonly group: typeof Group.SessionToken; } export interface RequestSessionTokenAction extends ActionBase { readonly type: typeof ActionType.REQUEST; } export interface RespondWithSessionTokenAction extends ActionBase { readonly type: typeof ActionType.RESPOND; } export declare function request(): RequestSessionTokenAction; export declare function respond(sessionToken: Payload): RespondWithSessionTokenAction;