import { JwtPayload } from "jsonwebtoken"; export interface TenantUserJwtPayload extends JwtPayload { 'https://api.skedulo.com/user_id': string; 'https://api.skedulo.com/vendor': string; 'https://api.skedulo.com/username': string; 'https://api.skedulo.com/organization_id': string; 'https://api.skedulo.com/name': string; 'https://api.skedulo.com/resource_id': string; 'https://api.skedulo.com/roles': string[]; 'https://api.skedulo.com/ven': { user_id: string; }; } export interface TenantUserInfo { userId: string; tenantId: string; resourceId: string; vendor: string; roles: string; } export type AuthInfo = { baseUrl: string; token: string; userInfo: TenantUserInfo; staticToken?: string; }; export declare class UnauthorizedError { private message; constructor(message: string); getErrors(): string; } export declare const decodeToken: (token: string) => TenantUserInfo; //# sourceMappingURL=authUtils.d.ts.map