import type { ExternalAuthAssertionResponse } from '@dynamic-labs/sdk-api-core'; import { UserProfile } from '@dynamic-labs/types'; export type SignInWithExternalJwtParams = { externalUserId: string; externalJwt: string; }; export type VerifyWithExternalJwtParams = { externalJwt: string; }; export type ExternalAuthMessages = { /** * Initiates sign in with an externally provided JWT */ signInWithExternalJwt: (props: SignInWithExternalJwtParams) => Promise; /** * Requests an elevated access token using an external auth assertion JWT */ verifyWithExternalJwt: (props: VerifyWithExternalJwtParams) => Promise; };