import { WithId } from "../../../fd-toolbox-core/types/resource-with-id";
import { UiResourceMeta } from "../ui-resource-meta";
import { CardConfig } from "./config/card-config";
import { VoidFuncNoParam } from "../../../fd-toolbox/functions/internal-getter-setter-functions";
/**
 * Props for the {@link CardList} component.
 */
export interface CardListProps {
    /** Event handler called when items need to be reloaded from the server after data changes (create, update, or delete operations) */
    onRefreshItems: VoidFuncNoParam;
    /** Optional configuration for customizing card appearance and behavior */
    uiResourceMeta: UiResourceMeta;
    /** Array of resources to display as cards */
    config?: CardConfig;
    /** Link to the UI resource metadata */
    resources?: WithId[];
    /** Event handler called when an item is deleted */
    onItemDelete?: VoidFuncNoParam;
}
/**
 * This component renders in a card-based interface with support for different
 * layouts and includes an add button for creating new resources.
 *
 * @param props - {@link CardListProps}
 *
 * @example
 * ```tsx
 * <CardList
 *     onRefreshItems={onRefreshItems}
 *     uiResourceMeta={uiResourceMeta}
 *     resources={resourcesState}
 * />
 * ```
 */
export declare function CardList({ onRefreshItems, config, uiResourceMeta, resources, onItemDelete }: CardListProps): import("react").JSX.Element;
