/**
 * Copyright (c) Microsoft Corporation.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { SdkObject } from './instrumentation';
import { BrowserContext } from './browserContext';
import type { CallMetadata, InstrumentationListener } from './instrumentation';
import type { Progress } from '@protocol/progress';
export declare class Debugger extends SdkObject implements InstrumentationListener {
    private _pauseAt;
    private _pausedCall;
    private _enabled;
    private _pauseBeforeWaitingActions;
    private _context;
    static Events: {
        PausedStateChanged: string;
    };
    private _muted;
    constructor(context: BrowserContext);
    requestPause(progress: Progress): void;
    doResume(progress: Progress): void;
    next(progress: Progress): void;
    runTo(progress: Progress, location: {
        file: string;
        line?: number;
        column?: number;
    }): void;
    setMuted(muted: boolean): Promise<void>;
    onBeforeCall(sdkObject: SdkObject, metadata: CallMetadata): Promise<void>;
    onBeforeInputAction(sdkObject: SdkObject, metadata: CallMetadata): Promise<void>;
    private _pause;
    resume(): void;
    setPauseBeforeWaitingActions(): void;
    setPauseAt(at?: {
        next?: boolean;
        location?: {
            file: string;
            line?: number;
            column?: number;
        };
    }): void;
    isPaused(metadata?: CallMetadata): boolean;
    pausedDetails(): {
        metadata: CallMetadata;
        sdkObject: SdkObject;
    } | undefined;
}
//# sourceMappingURL=debugger.d.ts.map