import { ReactNode } from "react";
export interface IProps<T> {
    isLoading?: boolean;
    items: T[];
    newItemLink?: string;
    singular?: string;
    error?: unknown;
    notSearchable?: boolean;
    sortByName?: boolean;
    searchKeywordsField?: keyof T;
    render: (item: T, index: number) => ReactNode;
    searchFunction?: (items: T[], searchString: string) => T[];
}
export declare function RenderList<T extends {
    name: string;
}>({ isLoading, items, newItemLink, error, sortByName, notSearchable, singular, render, searchKeywordsField, searchFunction, }: IProps<T>): JSX.Element;
