import type { WorkloadAttestation, WorkloadServiceToken, WorkloadServiceTokenOptions, } from './workloadIdentity'; /** Workload attestation belongs to a Node host, never a browser or device. */ export function canAttestWorkloadIdentity(): boolean { return false; } export async function requestWorkloadServiceToken( _options: WorkloadServiceTokenOptions, ): Promise { throw new Error('Workload identity is only available on a Node host'); } export async function attestWorkloadIdentity(_options: { nonce: string; fetch?: typeof fetch; }): Promise { throw new Error('Workload identity is only available on a Node host'); } /** @internal Server rollout helper; unavailable on clients. */ export const requestLegacyWorkloadServiceToken = requestWorkloadServiceToken;