import { LitElement, TemplateResult } from 'lit'; import { ZIcon_Props } from '@zurich/dev-utils/code/Icon'; import { Locale, LocalesMap } from '@zurich/dev-utils/locales'; export type CustomElementClass = Omit; declare global { interface Window { ZDS_LOCALES: Partial>; } } export declare function registerComponent(name: `z-${string}`, elementClass: CustomElementClass): void; export declare abstract class ZDSElement extends LitElement { abstract readonly _name: string; static readonly _version: string; readonly uuid: string; readonly 'element-id'?: string; readonly 'z-theme'?: 'light' | 'dark'; readonly custom?: Partial>; readonly 'custom-str'?: string; static get isFirefox(): boolean; static get isSafari(): boolean; static get isChromium(): boolean; get isEmpty(): boolean; get hasDarkTheme(): boolean; protected get _cssTokens(): string; /** * @deprecated Icons are now embedded as data URIs in CSS. Use the `icon` attribute on elements instead. * This method is kept for backwards compatibility but will return undefined. */ static getIconURL(_iconName?: ZIcon_Props['icon'], _onlyOutline?: boolean): string | undefined; /** * @deprecated Icons are now embedded as data URIs in CSS. Use the `icon` attribute on elements instead. * This method is kept for backwards compatibility but will return an empty string. */ static getIconToken(_iconName?: ZIcon_Props['icon'], _onlyOutline?: boolean): string; protected _hasSlot(slotName: string): true | undefined; protected _slot(content?: string | number, slotName?: string): TemplateResult<1> | string; protected _emitEvent(name: string, e?: Event, payload?: any): void; } /** */ export declare abstract class ImageElement extends ZDSElement { 'image-alt'?: string; 'cross-origin'?: 'anonymous' | 'use-credentials'; static get isHighDensity(): boolean; static get isRetina(): boolean; }