/// <reference path="../../adonis-typings/profiler.d.ts" />
import { ProfilerProcessor } from '@ioc:Adonis/Core/Profiler';
/**
 * Profiler action is used to time the function. A connection can be
 * connected to a row or can be a global action.
 */
export declare class ProfilerAction {
    private label;
    private processor;
    private parentId?;
    private data?;
    private start;
    private timestamp;
    private ended;
    constructor(label: string, processor: Exclude<ProfilerProcessor, string>, parentId?: string | undefined, data?: any);
    /**
     * Make packet for the action
     */
    private makePacket;
    /**
     * End profiling action.
     */
    end(data?: any): void;
}
