import { ReactNode } from 'react'; import { PostageBatch } from '@ethersphere/bee-js'; import type { FileInfo } from '@solarpunkltd/file-manager-lib'; import { FileManagerBase } from '@solarpunkltd/file-manager-lib'; import { DriveInfo } from '@solarpunkltd/file-manager-lib'; interface ContextInterface { fm: FileManagerBase | null; files: FileInfo[]; currentDrive?: DriveInfo; currentStamp?: PostageBatch; drives: DriveInfo[]; expiredDrives: DriveInfo[]; adminDrive: DriveInfo | null; initializationError: boolean; showError?: boolean; shallReset: boolean; setCurrentDrive: (d: DriveInfo | undefined) => void; setCurrentStamp: (s: PostageBatch | undefined) => void; resync: () => Promise; init: () => Promise; setShowError: (show: boolean) => void; syncDrives: () => Promise; refreshStamp: (batchId: string) => Promise; } export declare const Context: import("react").Context; export declare const Consumer: import("react").Consumer; interface Props { children: ReactNode; } export declare function Provider({ children }: Props): JSX.Element; export {};