import type { ProductRelease, ProductReleaseListResponse } from '../../../types/product-release'; import { type ProductReleaseCardProps } from './product-release-card'; /** The `` props the caller derives per release — the card's * own data fields minus the ones this view supplies (title/summary/version/ * size/nav). `formattedDate` stays required so the spread satisfies the card. */ export type ProductReleaseCardExtras = Omit; export interface ProductReleasesViewProps { /** GET endpoint for the releases list (the api route). The view appends * `?limit&offset&&`. Default `/api/releases`. */ endpoint?: string; /** Optional SSR hydrate for the first page — skips the initial client fetch. */ initialData?: ProductReleaseListResponse; /** Page size → fixed slot count + offset math. Default 5. */ itemsPerPage?: number; /** Fallback detail-href prefix when `runtime.composeContentUrl` is not wired * (single-platform embedders). Default `/releases`. */ basePath?: string; /** Derive the per-card prop bundle. Defaults to the lib's RICH lg builder * (`buildProductReleaseCardProps` — full Type/Status/author/changelog metadata) * so embedders get the complete card with zero config; pass your own to customize. */ buildCardProps?: (release: ProductRelease) => ProductReleaseCardExtras; /** URL param key for the search input. MUST match the chrome that writes it. * Default `'search'` (also the outbound query-param name). */ searchParamKey?: string; /** URL param key for the status filter. Default `'release_status'`. */ statusParamKey?: string; /** URL param key for the page number. Default `'page'`. */ pageParamKey?: string; className?: string; } export declare function ProductReleasesView({ endpoint, initialData, itemsPerPage, basePath, buildCardProps, searchParamKey, statusParamKey, pageParamKey, className, }?: ProductReleasesViewProps): import("react").JSX.Element; //# sourceMappingURL=product-releases-view.d.ts.map