export declare const AUTH_BUILDER_ID = "https://zusapi.com/builder_id"; export declare const AUTH_BUILDER_NAME = "https://zusapi.com/builder_name"; export declare const AUTH_PRACTITIONER_ID = "https://zusapi.com/practitioner_id"; export declare const AUTH_IS_SUPER_ORG = "https://zusapi.com/is_super_org"; export declare const AUTH_PERMISSION_TOKEN = "https://zusapi.com/permissions_token"; export declare const AUTH_EMAIL = "https://zusapi.com/email"; export declare const AUTH_USER_ID = "https://zusapi.com/user_id"; export declare const AUTH_APP_CLIENT_ID = "https://zusapi.com/app_client_id"; export declare const AUTH_USER_TYPE = "https://zusapi.com/user_type"; export declare const AUTH_PATIENT_ID = "https://zusapi.com/patient_id"; export declare const AUTH_AUTHENTICATED_BY = "https://zusapi.com/authenticated_by"; export type ZusJWT = { [AUTH_BUILDER_ID]: string; [AUTH_BUILDER_NAME]: string; [AUTH_PRACTITIONER_ID]: string; [AUTH_IS_SUPER_ORG]: string; [AUTH_PERMISSION_TOKEN]: string; [AUTH_EMAIL]: string; [AUTH_USER_ID]: string; [AUTH_APP_CLIENT_ID]: string; [AUTH_USER_TYPE]: string; [AUTH_PATIENT_ID]: string; [AUTH_AUTHENTICATED_BY]: string; iss: string; sub: string; aud: string[]; iat: number; exp: number; azp: string; scope: string; }; export declare function claimsUserType(authToken: string): string | undefined; export declare function claimsBuilderId(authToken: string): string | undefined; export declare function claimsBuilderName(authToken: string): string | undefined; export declare function claimsExp(authToken: string): number; export declare function claimsPractitionerId(authToken: string): string | undefined; export declare function claimsAuthEmail(authToken: string): string | undefined; export declare function hasUnexpiredToken(authToken?: string): boolean; export declare function hasValidClaimsAuthEmail(authToken: string): boolean; export declare function sendInvalidTokenNotification(authToken: string, toastId: string): void; //# sourceMappingURL=auth.d.ts.map