import { anyFunction } from './executables'; export declare function mapLibraries(...libmap: [name: string, reqCall: () => unknown][]): void; export declare let isKarma: boolean; export declare function getCallerFileName(level: number): string; export declare function init(isKarmaParam?: boolean): Promise; export declare function getLibFromPath(libname: string, caller: string, reload?: boolean): Record; export interface Rewire { lib(): Record; isRewired(): boolean; get(name: string): never; safeget(name: string): never; set(name: string, value: unknown): void; restore(): void; } export declare function getLibRewire(libname: string, caller: string): Rewire; export declare function reloadLibRewire(libname: string, caller: string): Rewire; interface AggregationMethod extends anyFunction { origin?: anyFunction; restore?: () => void; } export declare function createAggregation(libname: string, methodName: string): AggregationMethod; export {};