export type DownloadStrategy = 'auto' | 'anchor' | 'iframe'; export interface DownloadOptions { target?: '_self' | '_blank'; strategy?: DownloadStrategy; } export declare function downloadFile(url: string, fileName?: string, options?: DownloadOptions): Promise; export declare function toggleDark(): void; export declare function getParentElement(el: HTMLElement): HTMLElement | null; export declare function getScrollParent(el: HTMLElement | null): HTMLElement | null;