API reference > @kontsedal/olas-core > PluginHost
PluginHost type
What one root offers a plugin during and after setup.
Signature:
typescript
type PluginHost = {
readonly deps: AmbientDeps;
provide<T>(scope: Scope<T>, value: T): void;
reportError(err: unknown): void;
onDispose(fn: () => void): void;
track(work: Promise<unknown>): void;
readonly network: NetworkHost;
readonly queries: QueryHost | null;
readonly mutations: MutationHost | null;
debug(payload: unknown): void;
};References: AmbientDeps, Scope, NetworkHost, QueryHost, MutationHost