import { Drag } from '@lumino/dragdrop';
import { TabBar, Widget } from '@lumino/widgets';
/**
 * Supports drop targets that insert a dragged widget as a tab of a tab bar where it is dropped:
 * finds the dragged widget and the insertion index, and marks the tab before or after which the widget is inserted.
 */
export declare class TabDropHelper {
    protected readonly markerClassNames: {
        before: string;
        after: string;
    };
    protected insertionMarker?: {
        tab: Element;
        className: string;
    };
    /**
     * @param markerClassNames the classes marking the tab before (`before`) or after (`after`) which a dropped widget is inserted
     */
    constructor(markerClassNames: {
        before: string;
        after: string;
    });
    getDraggedWidget(event: Drag.Event): Widget | undefined;
    /**
     * @returns the index of the tab before which a widget dropped at the given position is inserted,
     * or the number of tabs if it is appended
     */
    findInsertionIndex(tabBar: TabBar<Widget>, clientX: number, clientY: number): number;
    showInsertionMarker(tabBar: TabBar<Widget>, index: number): void;
    hideInsertionMarker(): void;
}
//# sourceMappingURL=tab-drop-helper.d.ts.map