///
import { PrivateKey } from '@ethersphere/bee-js';
import { FileInfo } from '@solarpunkltd/file-manager-lib';
export declare function getDaysLeft(expiryDate: Date): number;
export declare const fromBytesConversion: (size: number, metric: string) => number;
export declare function getExpiryDateByLifetime(lifetimeValue: number, actualValidity?: Date): Date;
export declare const indexStrToBigint: (indexStr?: string) => bigint | undefined;
export declare const formatBytes: (v?: string | number) => string | undefined;
export declare const isTrashed: (fi: FileInfo) => boolean;
export declare type Point = {
x: number;
y: number;
};
export declare enum Dir {
Down = "down",
Up = "up"
}
export declare function getFileId(fi: FileInfo): string;
export declare const KEY_STORAGE = "privateKey";
export declare function getSigner(input: string): PrivateKey;
export declare function getSignerPk(): PrivateKey | undefined;
export declare function setSignerPk(pk: string): void;
export declare function removeSignerPk(): void;
export declare const capitalizeFirstLetter: (str: string) => string;
export declare const safeSetState: (ref: React.MutableRefObject, setter: import("react").Dispatch>) => (value: import("react").SetStateAction) => void;