import { StoarClient } from '../client';
/**
 * BucketRegistry manages bucket discovery and caching
 * Helps find and track manifest-based buckets on Arweave
 */
export declare class BucketRegistry {
    private client;
    private bucketCache;
    constructor(client: StoarClient);
    /**
     * Discover all buckets created by a specific owner
     */
    discoverBuckets(owner?: string): Promise<Array<{
        name: string;
        manifestId: string;
        version: number;
        createdAt: Date;
        owner: string;
        objectCount: number;
        totalSize: number;
    }>>;
    /**
     * Find a specific bucket by name
     */
    findBucket(bucketName: string): Promise<{
        manifestId: string;
        version: number;
        createdAt: Date;
        owner: string;
    } | null>;
    /**
     * Clear the bucket cache
     */
    clearCache(): void;
    /**
     * Get cached bucket info
     */
    getCachedBucket(bucketName: string): {
        manifestId: string;
        version: number;
        createdAt: Date;
        owner: string;
    } | undefined;
}
//# sourceMappingURL=bucket-registry.d.ts.map