import React from "react";
import { WithId } from "../../../../fd-toolbox-core/types/resource-with-id";
import { VoidFuncNoParam } from "../../../../fd-toolbox/functions/internal-getter-setter-functions";
/**
 * Props for {@link SearchResults}
 */
export interface SearchResultsProps {
    resourceName: string;
    items: WithId[];
    onClose?: VoidFuncNoParam;
    onRefreshSearchResults: VoidFuncNoParam;
}
/**
 * Component for displaying resource items in table with resource title
 *
 * @param props - {@link SearchResultsProps}
 *
 * @example
 * ```tsx
 * function MyComponent() {
 *     const [items, setItems] = useState([{
 *             id: "123e4567-e89b-12d3-a456-426614174000",
 *             name: "John Doe",
 *         },]);
 *
 *     return (
 *         <SearchResults resourceName="Contact" items={items} onClose={...} onRefreshSearchResults={...}/>
 *     );
 * }
 * ```
 */
export declare function SearchResults({ resourceName, items, onClose, onRefreshSearchResults }: SearchResultsProps): React.JSX.Element;
