import type { CredentialSessionService } from "../contracts/credentialTypes"; export class RejectingCredentialSessionService implements CredentialSessionService { async getSession( args: Readonly<{ workflowId: string; nodeId: string; slotKey: string }>, ): Promise { throw new Error( `Credential sessions are unavailable for workflow ${args.workflowId} node ${args.nodeId} slot "${args.slotKey}". Register a real CredentialSessionService implementation before executing workflows.`, ); } }