import { PasslockError, type Principal, type UserPrincipal } from '@passlock/client'; export type TokenVerifierProps = { readonly tenancyId: string; readonly apiKey: string; readonly endpoint?: string; }; export declare class TokenVerifier { readonly tenancyId: string; readonly apiKey: string; readonly endpoint?: string; constructor(props: TokenVerifierProps); private readonly _exchangeToken; /** * Call the Passlock REST API to exchange the token for a principal. * * Coming Soon - local JWT based verification (avoiding the network trip). * * @param token * @returns */ readonly exchangeToken: (token: string) => Promise; readonly exchangeUserToken: (token: string) => Promise; }