export type WorkspaceData = { workspacePath: string; remoteScopePath: string; remoteScopeName: string; }; /** * setup a new workspace on a temp directory and setup a bare-scope locally to simulate a remote scope for commands * such as `bit export`. * call `destroyWorkspace()` once the tests completed to keep the filesystem clean. * * to print the path of the workspace, run the tests with `--debug` flag. */ export declare function mockWorkspace(opts?: { bareScopeName?: string; }): WorkspaceData; export declare function mockBareScope(remoteToAdd: string, scopeNameSuffix?: string): { scopeName: string; scopePath: string; }; /** * deletes the paths created by mockWorkspace. pass the results you got from `mockWorkspace()` * * to keep the workspace and the remote scope, run the tests with `--debug` flag. */ export declare function destroyWorkspace(workspaceData: WorkspaceData): Promise; export declare function setWorkspaceConfig(workspacePath: string, key: string, val: any): Promise;