astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
17 lines (16 loc) • 508 B
TypeScript
import { type Icon } from './icons.js';
export interface DevToolbarTooltipSection {
title?: string;
inlineTitle?: string;
icon?: Icon;
content?: string;
clickAction?: () => void | Promise<void>;
clickDescription?: string;
}
export declare class DevToolbarTooltip extends HTMLElement {
sections: DevToolbarTooltipSection[];
shadowRoot: ShadowRoot;
constructor();
connectedCallback(): void;
getElementForIcon(icon: Icon | (string & NonNullable<unknown>)): string;
}