import type { ITrustComponent } from "../models/ITrustComponent.js"; import type { ITrustVerificationInfo } from "../models/ITrustVerificationInfo.js"; /** * Helper class for trust-related operations. */ export declare class TrustHelper { /** * Runtime name for the class. */ static readonly CLASS_NAME: string; /** * Verifies the trust payload for the action, throwing if verification fails. * @param component The trust component to use. * @param trustPayload The trust payload to verify. * @param action The action being performed. * @param overrideVerifiers List of verifiers to use instead of the default ones. * @param includeErrorDetails Whether to include detailed error information in the exception if verification fails. * @returns A promise that resolves to the verified trust information. * @throws UnauthorizedError if the payload cannot be verified or the identity is missing. */ static verifyTrust(component: ITrustComponent, trustPayload: unknown, action: string, overrideVerifiers?: string[], includeErrorDetails?: boolean): Promise; }