v7
 1// Copyright 2022 Google LLC
 2//
 3// Licensed under the Apache License, Version 2.0 (the "License");
 4// you may not use this file except in compliance with the License.
 5// You may obtain a copy of the License at
 6//
 7//     https://www.apache.org/licenses/LICENSE-2.0
 8//
 9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15import * as _ from './index.js'
16
17Object.assign(global, _)
18
19declare global {
20  type ProcessPromise = _.ProcessPromise
21  type ProcessOutput = _.ProcessOutput
22  var ProcessPromise: typeof _.ProcessPromise
23  var ProcessOutput: typeof _.ProcessOutput
24  var log: typeof _.log
25  var $: typeof _.$
26  var argv: typeof _.argv
27  var cd: typeof _.cd
28  var chalk: typeof _.chalk
29  var echo: typeof _.echo
30  var expBackoff: typeof _.expBackoff
31  var fs: typeof _.fs
32  var glob: typeof _.glob
33  var globby: typeof _.globby
34  var nothrow: typeof _.nothrow
35  var os: typeof _.os
36  var path: typeof _.path
37  var question: typeof _.question
38  var quiet: typeof _.quiet
39  var quote: typeof _.quote
40  var quotePowerShell: typeof _.quotePowerShell
41  var retry: typeof _.retry
42  var sleep: typeof _.sleep
43  var spinner: typeof _.spinner
44  var ssh: typeof _.ssh
45  var stdin: typeof _.stdin
46  var which: typeof _.which
47  var within: typeof _.within
48  var YAML: typeof _.YAML
49}