import { AtprotoDid } from '@atproto/did'; export type { AtprotoDid, AtprotoIdentityDidMethods } from '@atproto/did'; export type ResolveHandleOptions = { signal?: AbortSignal; noCache?: boolean; }; /** * @see {@link https://atproto.com/specs/did#blessed-did-methods} */ export type ResolvedHandle = null | AtprotoDid; /** * @see {@link https://atproto.com/specs/did#blessed-did-methods} */ export declare function isResolvedHandle(value: unknown): value is ResolvedHandle; export declare function asResolvedHandle(value: T): null | (T & AtprotoDid); export interface HandleResolver { /** * @returns the DID that corresponds to the given handle, or `null` if no DID * is found. `null` should only be returned if no unexpected behavior occurred * during the resolution process. * @throws Error if the resolution method fails due to an unexpected error, or * if the resolution is aborted ({@link ResolveHandleOptions}). */ resolve(handle: string, options?: ResolveHandleOptions): Promise; } //# sourceMappingURL=types.d.ts.map