/** * DOM Helper Utilities - Common DOM manipulation functions */ export declare function createButton(text: string, options?: { variant?: "primary" | "secondary" | "ghost" | "danger"; size?: "small" | "medium" | "large"; onClick?: () => void; }): HTMLButtonElement; export declare function createCard(title: string, content: string | HTMLElement): HTMLElement; export declare function showToast(message: string, type?: "success" | "error" | "info"): void; export interface TocItem { href: string; text: string; isActive?: boolean; } export declare function createTocHoverCard(items: TocItem[], title?: string): HTMLElement; export declare function createTocCollapsible(items: TocItem[], options?: { title?: string; open?: boolean; }): HTMLElement; export declare function initTocCollapsible(selector?: string): void; export interface ChangelogEntry { version: string; date: string; categories: { title: string; items: { commit: string; hash: string; url?: string; }[]; }[]; } export declare function initChangelogPagination(options?: { itemsPerPage?: number; containerSelector?: string; }): void;