declare global {
interface HTMLElement {
connectedCallback?(): void;
}
}
declare type Constructor = new (...args: any[]) => T;
declare type themeType = 'dark' | 'light' | '';
declare class ThemeHost {
theme: themeType;
}
declare type ThemeMixinType = >(superclass: T) => T & Constructor & Pick;
/**
* Sets internal theme property + attribute
* when the theme on element changes.
* Then it is easy to style the component based on global theme:
* css`
* :host([theme="dark"]) { ... }
* `
*/
export declare const ThemeMixinImplementation: ThemeMixinType;
export declare const ThemeMixin: ThemeMixinType;
export {};
//# sourceMappingURL=ThemeMixin.d.ts.map