import { BorderedList } from '@c-fo/vibes/unstable'; import { ComponentProps } from 'react'; import { IndexPageListContent } from '../../../../areas/IndexList'; import { IndexPageRenderCustomModalType } from '../../../../templates/IndexPage/types/customModal'; import type { BaseResource } from '../../../../pages/types'; import type { ApiSearchParams } from '../../../../templates/IndexPage/types'; export declare const createBorderedListItemLayout:

({ resource, columns, searchQuery, refetchResources, showCustomModal, setDestroyTargetId, }: { resource: R; columns: IndexPageListContent[]; searchQuery: P; refetchResources: () => Promise; showCustomModal: (modal: IndexPageRenderCustomModalType) => void; setDestroyTargetId: (id: string | number) => void; }) => Pick['items'][number], 'primaryItem' | 'primarySubItem' | 'secondaryItems' | 'actions'>;