aboutsummaryrefslogblamecommitdiffstats
path: root/packages/testnet-faucets/src/ts/global.d.ts
blob: 3d99986982de6ae27d7a3533a3f1a45beb3a005e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                         


                                                                 






                         








                                   
                                          



                                   
 
                    









                                                                                            
 
                  
declare module 'rollbar';
declare module 'web3-provider-engine/subproviders/rpc';
declare module 'web3-provider-engine/subproviders/nonce-tracker';
declare module 'web3-provider-engine/subproviders/hooked-wallet';

declare module '*.json' {
    const json: any;
    /* tslint:disable */
    export default json;
    /* tslint:enable */
}

// Ethereumjs-tx declarations
declare module 'ethereumjs-tx' {
    class EthereumTx {
        public raw: Buffer[];
        public r: Buffer;
        public s: Buffer;
        public v: Buffer;
        public serialize(): Buffer;
        public sign(buffer: Buffer): void;
        constructor(txParams: any);
    }
    export = EthereumTx;
}

/* tslint:disable */
declare module 'web3-provider-engine' {
    class Web3ProviderEngine {
        public on(event: string, handler: () => void): void;
        public send(payload: any): void;
        public sendAsync(payload: any, callback: (error: any, response: any) => void): void;
        public addProvider(provider: any): void;
        public start(): void;
        public stop(): void;
    }
    export = Web3ProviderEngine;
}
/* tslint:enable */