import type NDK from "@nostr-dev-kit/ndk"; import { type NDKImetaTag } from "@nostr-dev-kit/ndk"; import type NDKBlossom from "../blossom"; import { type BlossomUploadOptions } from "../types"; /** * Upload a file to a specific Blossom server * * @param ndk NDK instance * @param file File to upload * @param serverUrl URL of the Blossom server * @param options Upload options * @returns Blob metadata */ export declare function uploadToServer(ndk: NDK, file: File, serverUrl: string, options?: BlossomUploadOptions): Promise; /** * Upload a file to a user's Blossom servers * * @param ndkBlossom - NDKBlossom instance * @param file File to upload * @param options Upload options * @returns Blob metadata with imeta format */ export declare function uploadFile(ndkBlossom: NDKBlossom, file: File, options?: BlossomUploadOptions): Promise; /** * Find a hash in nostr by searching for #x tags * * @param ndk NDK instance * @param hash SHA-256 hash to search for * @returns Array of URLs found, empty array if none found */ export declare function findHashInNostr(ndk: NDK, hash: string): Promise; //# sourceMappingURL=uploader.d.ts.map