/** * Shared ARD (Agentic Resource Discovery) type mappings and constants. * * Centralises media-type mappings, trust-signal score boosts, publisher * metadata, and the public ARD 1.0 schema/version vocabulary used by both * export and registry import. */ import type { AssetKind, AuthorityTier, DemandProfile } from "../types.js"; /** Publisher FQDN for agent-harness ARD entries. */ export declare const ARD_PUBLISHER_FQDN = "ar27111994.dev"; /** Current public ARD manifest specVersion. */ export declare const ARD_SPEC_VERSION: "1.0"; /** Canonical public ARD ai-catalog schema URI. */ export declare const ARD_SCHEMA_URI = "https://raw.githubusercontent.com/ards-project/ard-spec/main/spec/schemas/ai-catalog.schema.json"; /** * Returns the ARD publisher FQDN, respecting the environment override. */ export declare function getArdPublisherFqdn(): string; /** Maps agent-harness AssetKind → ARD media type. */ export declare const ASSET_KIND_TO_ARD_TYPE: Record; /** Maps ARD media type → agent-harness AssetKind. */ export declare function ardTypeToAssetKind(ardType: string): AssetKind; /** Known trust-signal names used in `AssetTrust.signals[]`. */ export declare const ARD_TRUST_SIGNALS: readonly ["ard-identity-bound", "ard-compliance-attested", "ard-soc2", "ard-hipaa", "ard-signed"]; /** Union of the trust-signal identifiers recognized during ARD conversion. */ export type ArdTrustSignal = (typeof ARD_TRUST_SIGNALS)[number]; /** * Internal descriptive mapping for imported trust signals. These descriptions * are not emitted as ARD attestations: ARD 1.0 requires every attestation to * carry a verifiable URI and media type, which local trust flags cannot prove. */ export interface ArdSignalDescription { type: string; description: string; } /** Maps local trust-signal identifiers to internal attestation descriptions. */ export declare const TRUST_SIGNAL_TO_ATTESTATION: Record; /** Per-signal trust-score boosts applied during catalog entry construction. */ export declare const TRUST_SIGNAL_SCORE_BOOST: Record; /** * Infers an authority tier from an ARD publisher FQDN. The current identifier * grammar is `urn:air:::`; callers pass only the * publisher segment here, so the authority policy itself is scheme-agnostic. */ export declare function inferAuthorityTierFromArdUrn(publisherFqdn: string): AuthorityTier; /** Builds a natural-language ARD search query from workspace demand signals. */ export declare function buildArdQueryText(demandProfile?: DemandProfile | null): string;