import type NDK from "@nostr-dev-kit/ndk"; import { type NDKUser } from "@nostr-dev-kit/ndk"; /** * Extract hash from a Blossom URL * * @param url URL to extract hash from * @returns SHA-256 hash or undefined if not found */ export declare function extractHashFromUrl(url: string): string | undefined; /** * Fix a Blossom URL by finding an alternative server with the same blob * * @param ndk NDK instance * @param user NDK user * @param url URL to fix * @returns Fixed URL or original if not fixable */ export declare function fixUrl(ndk: NDK, user: NDKUser, url: string): Promise; /** * Get a blob by its hash from one of a user's servers * * @param ndk NDK instance * @param user NDK user * @param hash SHA-256 hash of the blob * @returns URL to the blob if found */ export declare function getBlobUrlByHash(ndk: NDK, user: NDKUser, hash: string): Promise; //# sourceMappingURL=url-healing.d.ts.map