import { FdpStorage } from './model/fdp-storage.model'; import { Signer } from './signer'; import { Wallet } from './wallet'; /** * Interface of the Blossom browser extension * This class can be used inside of a web page or service worker script */ export declare class Blossom { private messages; /** * Proxy object for the FdpStorage type. Simulates access to FdpStorage functions by * forwarding requests to the Blossom extension. * * For more information about available functions check: * https://github.com/fairDataSociety/fdp-storage#usage */ readonly fdpStorage: FdpStorage; /** * Signer object */ readonly signer: Signer; /** * Wallet object. This object contains methods for interaction with blockchain. */ readonly wallet: Wallet; /** * dApp ENS name. If dApp is loaded from an invalid URL, the value will be null. */ readonly dappId: string | null; /** * * @param extensionId The Blossom extension ID */ constructor(extensionId?: string); /** * Test function, to check communication with the extension * @param data Any data * @returns The same data */ echo(data: Data): Promise; closeConnection(): void; }