import type { SignedViewerResourceV1 } from '@xyo-network/payload-viewer-protocol'; import { type PayloadViewerCryptoV1 } from './crypto.js'; import type { TrustedViewerCatalogKeyV1, VerifiedViewerCatalogV1, VerifiedViewerVersionV1 } from './types.js'; /** Construction options for {@link PayloadViewerCatalogClientV1}. */ export interface PayloadViewerCatalogClientOptionsV1 { crypto?: PayloadViewerCryptoV1; fetch?: typeof globalThis.fetch; now?: () => Date; trustedCatalogKeys: readonly TrustedViewerCatalogKeyV1[]; } /** Fetches and verifies signed viewer catalogs, manifests, and artifacts. */ export declare class PayloadViewerCatalogClientV1 { private readonly crypto; private readonly fetcher; private readonly now; private readonly trustedCatalogKeys; constructor({ crypto, fetch: fetcher, now, trustedCatalogKeys, }: PayloadViewerCatalogClientOptionsV1); loadCatalog(descriptor: SignedViewerResourceV1): Promise; loadVersion(verifiedCatalog: VerifiedViewerCatalogV1, pluginId: string, versionValue: string): Promise; private activePublisherKeys; } //# sourceMappingURL=CatalogClient.d.ts.map