@kubiklabs/wasmkit
Version:
Wasmkit is a development environment to compile, deploy, test, run cosmwasm contracts on different networks.
20 lines (19 loc) • 709 B
TypeScript
import { WasmkitContext } from "../context";
interface PackageJson {
name: string;
version: string;
peerDependencies: {
[name: string]: string;
};
}
/**
* Validates a plugin dependencies and loads it.
* @param pluginName - The plugin name
* @param WasmkitContext - The WasmkitContext
* @param from - Where to resolve plugins and dependencies from. Only for
* testing purposes.
*/
export declare function usePlugin(WasmkitContext: WasmkitContext, pluginName: string, from?: string): void;
export declare function loadPluginFile(absolutePluginFilePath: string): void;
export declare function readPackageJson(packageName: string, from?: string): PackageJson | undefined;
export {};