import { Action } from '@ngrx/store'; export declare enum ActionTypes { StoreToken = "[ngx-tools-jwt-token-provider] Store Token", TokenNearingExpiration = "[ngx-tools-jwt-token-provider] Token Nearing Expiration", TokenExpired = "[ngx-tools-jwt-token-provider] Token Expired", EscalateToken = "[ngx-tools-jwt-token-provider] Escalate Token", EscalationSuccess = "[ngx-tools-jwt-token-provider] Escalation Success", EscalationFailed = "[ngx-tools-jwt-token-provider] Escalation Failed", AllTokensExpired = "[ngx-tools-jwt-token-provider] All Tokens have Expired", InitialTokenExtracted = "[ngx-tools-jwt-token-provider] Initial Token Extracted", FailedToActivateRoute = "[ngx-tools-jwt-token-provider] Failed To Activate Route" } export interface StoreTokenConstructor { tokenName: Extract; token: string; isDefaultToken?: boolean; } /** * InitialTokenExtracted */ export declare class InitialTokenExtracted implements Action { token: string; type: typeof ActionTypes.InitialTokenExtracted; constructor(token: string); } /** * FailedToActivateRoute */ export declare class FailedToActivateRoute implements Action { type: typeof ActionTypes.FailedToActivateRoute; } /** * StoreToken */ export declare class StoreToken implements Action { type: typeof ActionTypes.StoreToken; tokenName: Extract; token: string; isDefaultToken: boolean; constructor({ tokenName, token, isDefaultToken, }: StoreTokenConstructor); } /** * TokenExpired */ export declare class TokenExpired implements Action { type: typeof ActionTypes.TokenExpired; tokenName: Extract; token: string; constructor({ tokenName, token, }: { tokenName: Extract; token: string; }); } /** * AllTokensExpired */ export declare class AllTokensExpired implements Action { type: typeof ActionTypes.AllTokensExpired; } /** * TokenNearingExpiration */ export declare class TokenNearingExpiration implements Action { type: typeof ActionTypes.TokenNearingExpiration; tokenName: Extract; token: string; constructor({ tokenName, token, }: { tokenName: Extract; token: string; }); } /** * EscalateToken */ export declare class EscalateToken implements Action { tokenName: Extract; type: typeof ActionTypes.EscalateToken; constructor(tokenName: Extract); } /** * EscalationSuccess */ export declare class EscalationSuccess implements Action { tokenName: Extract; type: typeof ActionTypes.EscalationSuccess; constructor(tokenName: Extract); } /** * EscalationFailed */ export declare class EscalationFailed implements Action { tokenName: Extract; type: typeof ActionTypes.EscalationFailed; constructor(tokenName: Extract); } export declare type Actions = AllTokensExpired | EscalateToken | EscalationFailed | EscalationSuccess | InitialTokenExtracted | StoreToken | TokenExpired | TokenNearingExpiration;