/// <reference types="@arcgis/core/interfaces.d.ts" />
type KeysOfType<T, U> = {
    [P in keyof T]: T[P] extends U ? P : never;
}[keyof T];
/**
 * Filters a collection of items by the given keys and filter word.
 */
export declare function filterCollection<T, U extends KeysOfType<T, string | undefined>>(collection: T[], keys: U | U[], filterWord: string, beforeFilteringFn?: (item: T) => boolean | undefined): T[];
/**
 * Returns the url to the portal item.
 */
export declare function portalItemPageUrl(portalItem: __esri.PortalItem | null | undefined): string;
export {};
