/**
 *
 *
 * @class ProfileResult
 */
export declare class ProfileResult {
    readonly blockKey: string;
    timeElapsed: number;
    private readonly startTime;
    /**
     * Profile result.
     * @constructor
     * @param {string} blockKey - Code Block key name.
     */
    constructor(blockKey: string);
    /**
     *
     * Saves the current recording
     * @returns {JSON} - JSON Object.
     * @memberof ProfileResult
     */
    save(): void;
    /**
     *
     * Returns an object with the recording results
     * @returns {JSON} - JSON Object.
     * @memberof ProfileResult
     */
    toJSON(): {
        block_key: string;
        time_elapsed: number;
    };
}
