import { EventEmitter, NgZone, OnChanges, SimpleChanges } from '@angular/core'; import { VexHighlightResult } from './vex-highlight.model'; import { VexHighlightService } from './vex-highlight.service'; import * as i0 from "@angular/core"; export declare class VexHighlightDirective implements OnChanges { private _highlightService; private _zone; /** Highlighted Code */ highlightedCode?: string; /** An optional array of language names and aliases restricting detection to only those languages. * The subset can also be set with configure, but the local parameter overrides the option if set. */ languages: string[]; /** Highlight code input */ code: string; /** Stream that emits when code string is highlighted */ highlighted: EventEmitter; constructor(_highlightService: VexHighlightService, _zone: NgZone); ngOnChanges(changes: SimpleChanges): void; /** * Highlighting with language detection and fix markup. * @param code Accepts a string with the code to highlight * @param languages An optional array of language names and aliases restricting detection to only those languages. * The subset can also be set with configure, but the local parameter overrides the option if set. */ highlightElement(code: string, languages: string[]): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } //# sourceMappingURL=vex-highlight.directive.d.ts.map