/// import execa from 'execa'; import { ArgList, Arguments, Argv } from '@boost/args'; import { Path } from '@boost/common'; import { mockDebugger } from '@boost/debug/test'; import { ConfigContext, ConfigFile, Context, Driver, DriverContext, DriverContextOptions, DriverMetadata, ScaffoldContext, ScaffoldContextOptions, Script, ScriptContext, ScriptContextOptions, Tool } from '.'; export { mockDebugger }; export declare class TestDriver extends Driver { readonly name = "test-driver"; } export declare class TestScript extends Script { readonly name = "test-script"; execute(): any; } export declare function mockConsole(name: K): jest.SpyInstance; export declare function mockToolConfig(): ConfigFile; export declare function mockTool(argv?: Argv): Tool; export declare function mockDriver(name: string, tool?: Tool | null, metadata?: Partial): Driver; export declare function mockScript(name: string, tool?: Tool | null): Script<{}>; export declare function stubArgs(options: T, params?: ArgList): Arguments; export declare function stubConfigArgs(): Arguments<{}>; export declare function stubDriverArgs(fields?: Partial): Arguments; export declare function stubScaffoldArgs(fields?: Partial): Arguments; export declare function stubScriptArgs(fields?: Partial): Arguments; export declare function applyContext(context: T): T; export declare function stubConfigContext(): ConfigContext; export declare function stubDriverContext(driver?: Driver): DriverContext; export declare function stubScriptContext(script?: Script): ScriptContext; export declare function stubScaffoldContext(generator?: string, action?: string, name?: string): ScaffoldContext; export declare function prependRoot(part: string): Path; export declare function getRoot(): Path; export declare function stubExecResult(fields?: Partial): execa.ExecaReturnValue; //# sourceMappingURL=test.d.ts.map