import { Bee, BZZ, Duration, PostageBatch, RedundancyLevel, Size } from '@ethersphere/bee-js'; import { FileManagerBase, DriveInfo } from '@solarpunkltd/file-manager-lib'; export declare const getUsableStamps: (bee: Bee | null) => Promise; export declare const fmGetStorageCost: (capacity: number, validityEndDate: Date, encryption: boolean, erasureCodeLevel: RedundancyLevel, beeApi: Bee | null) => Promise; export declare const fmFetchCost: (capacity: number, validityEndDate: Date, encryption: boolean, erasureCodeLevel: RedundancyLevel, beeApi: Bee | null, setCost: (cost: BZZ) => void, currentFetch: React.MutableRefObject | null>) => Promise; export declare const handleCreateDrive: (beeApi: Bee | null, fm: FileManagerBase | null, size: Size, duration: Duration, label: string, encryption: boolean, erasureCodeLevel: RedundancyLevel, isAdmin: boolean, resetState: boolean, existingBatch: PostageBatch | null, onSuccess?: () => void, onError?: ((error: unknown) => void) | undefined) => Promise; interface StampCapacityMetrics { capacityPct: number; usedSize: string; totalSize: string; usedBytes: number; totalBytes: number; remainingBytes: number; } export declare const calculateStampCapacityMetrics: (stamp: PostageBatch | null, drive?: DriveInfo | null) => StampCapacityMetrics; export declare const handleDestroyDrive: (beeApi: Bee | null, fm: FileManagerBase | null, drive: DriveInfo, onSuccess?: () => void, onError?: ((error: unknown) => void) | undefined) => Promise; export declare const handleForgetDrive: (fm: FileManagerBase | null, drive: DriveInfo, onSuccess?: () => void, onError?: ((error: unknown) => void) | undefined) => Promise; export {};