export declare type Auth = { kind: "not_authorized"; } | { kind: "authorized"; jwt: string; customerID: string; customerEmail: string; }; export declare function authJWT(auth: Auth): string | undefined; export declare function authCustomerID(auth: Auth): string | undefined; export declare function saveSessionIDToLocalStorage(sessionID: string): void; export declare function loadSessionIDFromLocalStorage(): string; export declare function saveAuthToLocalStorage(auth: Auth): void; export declare function authFromJWTAndEmail(jwt: string, customerEmail: string): Auth; export declare function loadAuthFromLocalStorage(): Auth;