import { LookupAnswer, VerifiableCertificate, LookupResolver, DiscoverCertificatesResult, IdentityCertificate, IdentityCertifier, Base64String } from '@bsv/sdk'; import { TrustSettings } from '../WalletSettingsManager'; export interface ExtendedVerifiableCertificate extends IdentityCertificate { certifierInfo: IdentityCertifier; publiclyRevealedKeyring: Record; } /** * Transforms an array of VerifiableCertificate instances according to the trust settings. * Only certificates whose grouped total trust meets the threshold are returned, * and each certificate is augmented with a certifierInfo property. * * @param trustSettings - the user's trust settings including trustLevel and trusted certifiers. * @param certificates - an array of VerifiableCertificate objects. * @returns a DiscoverCertificatesResult with totalCertificates and ordered certificates. */ export declare const transformVerifiableCertificatesWithTrust: (trustSettings: TrustSettings, certificates: VerifiableCertificate[]) => DiscoverCertificatesResult; /** * Performs an identity overlay service lookup query and returns the parsed results. * * Identity paths benefit from a larger grace window (more hosts contribute outputs before the * query resolves) — 300 ms is well under the "instant" perception threshold and catches the long * tail of healthy-but-slightly-slow hosts. */ export declare const queryOverlay: (query: unknown, resolver: LookupResolver) => Promise; /** * Parse the returned UTXOs, decrypting and verifying each certificate. * * On UI runtimes (browser / React Native), yields between iterations so the JS thread does not * own the frame for the full duration. On Node, runs straight through. */ export declare const parseResults: (lookupResult: LookupAnswer) => Promise; /** * Iterable variant of {@link parseResults}: emits each successfully parsed certificate as soon as * it's ready, so callers can render progressively instead of waiting for the full set. */ export declare function parseResults$(lookupResult: LookupAnswer): AsyncIterable; //# sourceMappingURL=identityUtils.d.ts.map