import * as jose from 'jose'; export interface UserInfo { email?: string; name?: string; groups?: string[]; /** user ID */ user?: string; /** custom claims */ [claim: string]: unknown; } export declare const getBrowserUser: () => Promise; /** * @deprecated Only supported by Pomerium v0.26 and older. Newer deployments * should use {@link getBrowserUser} instead. */ export declare const getClientJwt: () => Promise; export declare const parseJWT: (token: string) => jose.JWTPayload; export declare const getJWKsData: (baseUrl: string) => Promise; export declare const verifyPomeriumJWT: (jwt: string, authenticateBaseUrl: string, issuer: string, audience: string | string[]) => Promise & jose.ResolvedKey>; export declare const withHttps: (url: string) => string; export declare const signOut: (redirectUrl?: string) => void; //# sourceMappingURL=utils.d.ts.map