import { GoogleScriptHost } from "./google.script.host"; import { GoogleScriptUrl } from "./google.script.url"; interface MockApi { [key: string]: Function; } type ArbitraryFunction = (...args: any[]) => void; declare class GoogleScriptRunMock { private successCB; private failureCB; [key: string]: ArbitraryFunction | Function | null; withFailureHandler(callback: Function): this; withSuccessHandler(callback: Function): this; private runFunction; private doRunFunction; addMockApi(mockApi: MockApi): void; } export declare class GoogleMock { script: { run: GoogleScriptRunMock; host: GoogleScriptHost; url: GoogleScriptUrl; }; constructor(mockApi: MockApi); } export {};