/// import { ProfilerRowContract, ProfilerActionContract } from '@ioc:Adonis/Core/Profiler'; /** * Dummy action is a noop implementation of [[ProfileActionContract]]. When * actions for certain labels are disabled, then dummy action is used and * helps in avoiding the need of unneccessary `if/else` clauses. */ declare class DummyAction implements ProfilerActionContract { end(): void; } /** * Dummy row is a noop implementation of [[ProfilerRowContract]]. When certain * labels are disabled, then dummy row is used and helps in avoiding the need * of unneccessary `if/else` clauses. */ declare class DummyRow implements ProfilerRowContract { private action; get hasParent(): boolean; profile(action: string, data: any, cb: () => void): void; profile(action: string, data?: any): ProfilerActionContract; profileAsync(action: string, data: any, cb: () => void): Promise; profileAsync(action: string, data?: any): Promise; create(): this; end(): void; } declare const dummyAction: DummyAction; declare const dummyRow: DummyRow; export { dummyAction, dummyRow };