import { IDisposable } from '../../../common/lifecycle.js';

/**
 * Copied from src\vs\workbench\services\hover\browser\hover.ts
 * @deprecated Use IHoverService
 */
interface IHoverAction {
    label: string;
    commandId: string;
    iconClass?: string;
    run(target: HTMLElement): void;
}
interface IUpdatableHoverOptions {
    actions?: IHoverAction[];
    linkHandler?(url: string): void;
}
interface IHoverWidget extends IDisposable {
    readonly isDisposed: boolean;
}

export type { IHoverWidget, IUpdatableHoverOptions };
