import { z } from 'zod'; export type ArrayItemScore = (item: T, idx: number, items: T[]) => number; export declare function findMax(items: T[]): T; export declare function findMax(items: T[], byProperty: keyof T): T; export declare function findMax(items: T[], score: ArrayItemScore): T; export declare function htmlString(): z.ZodPipe>; export declare function countNonUnique(arr: any[]): number; export declare function isError(thing: unknown): thing is Error; //# sourceMappingURL=utils.d.ts.map