import type { SandboxTeeAttestationReportLike } from "./tangle-types.js"; /** Version of the canonical opaque quote carried by a confidential attestation. */ export declare const TANGLE_CONFIDENTIAL_ATTESTATION_QUOTE_VERSION: 1; /** Kind discriminator prevents this codec from accepting another quote format. */ export declare const TANGLE_CONFIDENTIAL_ATTESTATION_QUOTE_KIND: "tangle-sandbox-tee"; /** Raw evidence bound before it can enter a portable attestation. */ export declare const MAX_TEE_EVIDENCE_BYTES = 16384; /** Raw measurement bound before it can enter a portable attestation. */ export declare const MAX_TEE_MEASUREMENT_BYTES = 256; /** Read-only report shape accepted by the quote encoder. */ export interface TangleConfidentialAttestationReport { readonly tee_type: string; readonly evidence: readonly number[]; readonly measurement: readonly number[]; readonly timestamp: number; } /** * Encode a Sandbox TEE report without decimal JSON byte arrays. * * The returned JSON uses a fixed key order and unpadded base64url byte fields. * `undefined` means the report is not a valid bounded report or the quote does * not fit the shared confidential-attestation field. */ export declare function encodeTangleConfidentialAttestationQuote(report: TangleConfidentialAttestationReport): string | undefined; /** * Decode and canonicalize a provider quote. * * The parser rejects old numeric-array quotes, unknown fields, non-canonical * JSON, malformed base64url, and reports outside the provider bounds. */ export declare function decodeTangleConfidentialAttestationQuote(quote: unknown): SandboxTeeAttestationReportLike | undefined;