import * as Platform from '../../core/platform/platform.js';
import type * as SDK from '../../core/sdk/sdk.js';
import * as StackTrace from '../../models/stack_trace/stack_trace.js';
import * as Workspace from '../../models/workspace/workspace.js';
import * as UI from '../../ui/legacy/legacy.js';
export declare class CallStackSidebarPane extends UI.View.SimpleView implements UI.ContextFlavorListener.ContextFlavorListener, UI.ListControl.ListDelegate<Item> {
    #private;
    private readonly ignoreListMessageElement;
    private readonly ignoreListCheckboxElement;
    private readonly notPausedMessageElement;
    private readonly callFrameWarningsElement;
    private readonly items;
    private list;
    private readonly showMoreMessageElement;
    private showIgnoreListed;
    private maxAsyncStackChainDepth;
    private readonly updateItemThrottler;
    private readonly scheduledForUpdateItems;
    private muteActivateItem?;
    private constructor();
    static instance(opts?: {
        forceNew: boolean | null;
    }): CallStackSidebarPane;
    flavorChanged(details: SDK.DebuggerModel.DebuggerPausedDetails | null): Promise<void>;
    performUpdate(): void;
    private updatedForTest;
    private refreshItem;
    createElementForItem(item: Item): Element;
    heightForItem(_item: Item): number;
    isItemSelectable(_item: Item): boolean;
    selectedItemChanged(_from: Item | null, _to: Item | null, fromElement: HTMLElement | null, toElement: HTMLElement | null): void;
    updateSelectedItemARIA(_fromElement: Element | null, _toElement: Element | null): boolean;
    private onContextMenu;
    private activateItem;
    activeCallFrameItem(): Item | null;
    appendIgnoreListURLContextMenuItems(contextMenu: UI.ContextMenu.ContextMenu, uiSourceCode: Workspace.UISourceCode.UISourceCode): void;
    selectNextCallFrameOnStack(): void;
    selectPreviousCallFrameOnStack(): void;
    private copyStackTrace;
}
export declare const elementSymbol: unique symbol;
export declare const defaultMaxAsyncStackChainDepth = 32;
export declare class ActionDelegate implements UI.ActionRegistration.ActionDelegate {
    handleAction(_context: UI.Context.Context, actionId: string): boolean;
}
export declare class Item {
    isIgnoreListed: boolean;
    title: string;
    linkText: string;
    uiLocation: Workspace.UISourceCode.UILocation | null;
    isAsyncHeader: boolean;
    /** Only set for synchronous frames */
    frame?: StackTrace.StackTrace.DebuggableFrame;
    static createForDebuggableFrame(frame: StackTrace.StackTrace.DebuggableFrame): Item;
    static createForFrame(frame: StackTrace.StackTrace.Frame): Item;
    static createForAsyncHeader(stackTrace: StackTrace.StackTrace.StackTrace, fragment: StackTrace.StackTrace.AsyncFragment): Item;
    private constructor();
}
export declare function convertMissingDebugInfo(missingDebugInfo: StackTrace.StackTrace.MissingDebugInfo, functionName: string | undefined): {
    details: Platform.UIString.LocalizedString;
    resources: SDK.DebuggerModel.MissingDebugFiles[];
};
