import { PipeTransform } from '@angular/core'; import { StringLiteral } from '@dasch-swiss/dsp-js'; import { SessionService } from '../../../core/session.service'; /** * This pipe stringifies an array of StringLiterals. * With the parameter 'all', the pipe concats all values and appends the corresponding language in brackets. * * Otherwise the pipe displays the value corresponding to the default language which * comes from the user profile if a user is logged in or from the browser if the user is not logged in. * * With the predefined language, the pipe checks if a value exists in the array, otherwise it shows the first value. */ export declare class StringifyStringLiteralPipe implements PipeTransform { private _sessionService; constructor(_sessionService: SessionService); transform(value: StringLiteral[], args?: string): string; }