/** * @license * Copyright Datorama. All Rights Reserved. * * Use of this source code is governed by an Apache License 2.0 license that can be * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE */ import { PipeTransform } from '@angular/core'; export interface DatoSearchResultsGroupSortPipeConfig { labelKey?: string | undefined; groupKey?: string | undefined; groupLabel?: string | undefined; sortFn?: (params: { array: T[]; labelKey: string; groupKey: string; groupLabel: string; }) => T[]; } export declare class DatoSearchResultsGroupSortPipe implements PipeTransform { transform(array: T[], searchTerm: string, config?: DatoSearchResultsGroupSortPipeConfig): T[]; }