import { PipeTransform } from '@angular/core'; /** * Sort array pipe * * This is currently used with the pin feature of the list component * * Example: *
* * Usage: *
 * // Individual module import
 * import { SortArrayPipeModule } from 'patternfly-ng/pipe';
 * // Or
 * import { SortArrayPipeModule } from 'patternfly-ng';
 *
 * @NgModule({
 *   imports: [SortArrayPipeModule,...]
 * })
 * export class AppModule(){}
 * 
*/ export declare class SortArrayPipe implements PipeTransform { /** * Sort array by property * * @param {Array} arr Array to sort * @param prop Property name to sort by * @param {boolean} descending True to sort descending * @returns {any} Returns sorted array */ transform(arr: Array, prop: any, descending?: boolean): any; }