import type { ThemeType } from './'; declare global { var jupyterlab: { application?: { shell?: { dataset?: { theme?: string; }; }; }; } | undefined; } export declare function detect_parent_theme(target_element?: HTMLElement): ThemeType; export declare function watch_theme(target_element: HTMLElement, callback: (theme: ThemeType) => void): () => void;