import { ElementRef, OnInit } from '@angular/core'; import { Destroyable } from '@ts-core/common'; import { Theme, ThemeService } from '@ts-core/frontend/theme'; export declare class ThemeAssetDirective extends Destroyable implements OnInit { protected theme: ThemeService; isImage: boolean; isBackground: boolean; protected _name: string; protected _extension: string; protected source: string; protected element: HTMLElement; private isTriedThemeDefault; constructor(element: ElementRef, theme: ThemeService); protected getSource(id: string): string; private errorLoadingHandler; protected errorHandler(event: ErrorEvent): void; protected updateSourceProperties(): void; protected getSourceId(theme: Theme): string; protected getDefaultSourceId(theme: Theme): string; protected commitSourceProperties(): void; ngOnInit(): void; destroy(): void; get name(): string; set name(value: string); get extension(): string; set extension(value: string); }