import { CompositeDidDocumentResolver, CompositeHandleResolver } from '@atcute/identity-resolver'; import { type DidString } from '@atproto/lex'; declare const handleResolver: CompositeHandleResolver; declare const docResolver: CompositeDidDocumentResolver<"plc" | "web">; /** * Cleans the handle of @ and some other unicode characters that used to show up when copied from the profile. * Smidge outdated since the bsky.social client no longer does this, but still nice to have */ declare const cleanHandle: (handle: string) => string; /** * Convince helper to resolve a handle to a did and then find the PDS url from the did document. */ declare function handleAndPDSResolver(handle: string): Promise<{ usersDid: DidString; pds: string; }>; /** * Fetches the DID Web from the .well-known/did.json endpoint of the server. * Legacy and was helpful if the web ui and server are on the same domain, not as useful now */ declare function fetchPDSMooverDIDWeb(baseUrl: string): Promise; export { handleResolver, docResolver, cleanHandle, handleAndPDSResolver, fetchPDSMooverDIDWeb }; //# sourceMappingURL=atprotoUtils.d.ts.map