declare module 'soap/soap-stub' { import * as Sinon from 'sinon'; export interface SoapStub extends Sinon.SinonStubStatic { respondWithError?: () => void; respondWithSuccess?: () => void; } export interface IClientStub { [n: string]: SoapStub; } export function registerClient( alias: string, wsdlUrl: string, clientStub: IClientStub ): void; export function getStub(alias: string): IClientStub; export function reset(): void; export function createErroringStub(err: Object): () => void; export function createRespondingStub(success: Object): () => void; export const security: Function; export let errOnCreateClient: boolean; }