import { PipeTransform, TrackByFunction } from '@angular/core'; import { SafeAny, SafeString } from '../type/type'; /** * Get first letter of a input string. * * @author Federico Gambardella * @param {SafeString} stringInput */ export declare class FirstLetterPipe implements PipeTransform { transform(stringInput: SafeString): string; } /** * Return object or value of the object by property. * * @author Federico Gambardella * @param {SafeAny} object * @param {string} property */ export declare class ItemObjectPipe implements PipeTransform { transform(object: SafeAny, property: string): SafeAny; } /** * Pipe that check if an array of element is equal to another one. * * @author Federico Gambardella * @param {any} element * @param {any | any[]} expectedElementList * @return {boolean} */ export declare class IsEqualPipe implements PipeTransform { transform(element: any, expectedElementList: any[] | any): boolean; } /** * Track by property. * * @author Federico Gambardella * @param {any} propertyName * @return {TrackByFunction} */ export declare class TrackByPropertyPipe implements PipeTransform { transform(propertyNames: "$index"): TrackByFunction; transform(propertyNames: string): TrackByFunction; transform(propertyNames: string[]): TrackByFunction; } export declare class ConcatPipe implements PipeTransform { transform(stringInput: SafeString, stringToConcat: SafeString): string; } /** * Return value of the object if this exsist oterwise return teh object. * * @author Federico Gambardella * @param {SafeAny} object * @param {string} property */ export declare class ObjectValuePipe implements PipeTransform { transform(object: SafeAny, property: string): SafeAny; } /** * Return value of the object if this exsist oterwise return teh object. * * @author Federico Gambardella * @param {SafeAny} object * @param {boolean} property */ export declare class IfPipe implements PipeTransform { transform(object: SafeAny, condition: boolean): SafeAny; } export declare class KeysPipe implements PipeTransform { transform(value: SafeAny): any; }