/// /// /// import freedomTypes = require('freedom.types'); export declare class MockModuleSelfConstructor implements freedomTypes.ModuleSelfConstructor { provideSynchronous(classFn: Function): void; provideAsynchronous(classFn: Function): void; providePromises(classFn: Function): void; } export declare class MockParentModuleThing extends MockModuleSelfConstructor implements freedomTypes.ParentModuleThing { on(t: string, f: Function): void; emit(t: string, x: any): void; } export declare class MockFreedomCore implements freedomTypes.Core { getLogger(loggerName: string): Promise; createChannel(): Promise; bindChannel(channelIdentifier: string): Promise; getId(): Promise; } export declare class MockFreedomConsole implements freedom_Console.Console { log(source: string, message: string): Promise; debug(source: string, message: string): Promise; info(source: string, message: string): Promise; warn(source: string, message: string): Promise; error(source: string, message: string): Promise; } export declare function makeMockFreedomInModuleEnv(providerFactories?: { [name: string]: Function; }): freedomTypes.FreedomInModuleEnv;