import { Dictionary } from '@jscrpt/common';
import * as i0 from "@angular/core";
/**
 * Class used for executing javascript code and obtaining types from executed javascript code
 */
export declare class CodeExecutor {
    protected document: Document;
    /**
     * Loaded data cache for relations id
     */
    protected loadedDataCache: Dictionary<any>;
    constructor(document: Document);
    /**
     * Loads data from dynamicaly executed code
     * @param relationsId - Id of relations for which is data loaded from code
     * @param code - Code used for obtaining data
     */
    loadData<TResult>(relationsId: string, code: string): Promise<TResult | null>;
    static ɵfac: i0.ɵɵFactoryDeclaration<CodeExecutor, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<CodeExecutor>;
}
//# sourceMappingURL=codeExecutor.service.d.ts.map