UNPKG

@rnaga/wp-node

Version:

👉 **[View Full Documentation at rnaga.github.io/wp-node →](https://rnaga.github.io/wp-node/)**

38 lines • 1.03 kB
import { Config } from "../config"; import { Components } from "./components"; import { Current } from "./current"; import { Hooks } from "./hooks/hooks"; import { Options } from "./options"; import { Roles } from "./roles"; import { Utils } from "./utils/utils"; import { Vars } from "./vars"; import { Logger } from "./logger"; import type * as types from "../types/"; export declare class Context { #private; readonly args: { env: string; hooks: Hooks; }; readonly config: Config; hooks: Hooks; current: Current; roles: Roles; utils: Utils; vars: Vars; options: Options; logger: Logger; constructor(config: types.Config, args: { env: string; hooks: Hooks; }); get components(): Components; get env(): string; clone(): Promise<Context>; static getInstance(config: types.Config, args: { env: string; hooks: Hooks; installing?: boolean; }): Promise<Context>; } //# sourceMappingURL=context.d.ts.map