UNPKG

supertokens-website

Version:

frontend sdk for website to be used for auth solution.

15 lines (14 loc) 467 B
export declare enum PROCESS_STATE { CALLING_INTERCEPTION_REQUEST = 0, CALLING_INTERCEPTION_RESPONSE = 1 } export declare class ProcessState { history: PROCESS_STATE[]; private static instance; private constructor(); static getInstance(): ProcessState; addState: (state: PROCESS_STATE) => void; private getEventByLastEventByName; reset: () => void; waitForEvent: (state: PROCESS_STATE, timeInMS?: number) => Promise<unknown>; }