@dapplets/dapplet-extension
Version:
The Bridge to the Augmented Web.
8 lines (7 loc) • 498 B
TypeScript
export declare function sendRequest(method: string, ...params: any[]): Promise<any>;
export declare function callBgFunction(method: string, ...params: any[]): Promise<any>;
export declare function initBGFunctions(): any;
export declare function browserStorage_get(key?: string): Promise<any>;
export declare function browserStorage_set(kv: any): Promise<void>;
export declare function browserStorage_remove(key: string): Promise<void>;
export declare function getURL(url: string): Promise<string>;