import type { PartialSchema } from "@hatchifyjs/core"; import type { FinalSchemas, GetSchemaFromName, GetSchemaNames, Include, Record } from "@hatchifyjs/rest-client"; import type { HeaderProps } from "../../presentation/index.js"; export interface HatchifyColumn { sortable: boolean; key: string; label: string; headerOverride: boolean; renderData: ({ record }: { record: Record; }) => React.ReactNode; renderHeader: (headerProps: HeaderProps) => React.ReactNode; } interface CompoundComponents { columns: HatchifyColumn[]; Empty: () => JSX.Element; } export default function useCompoundComponents, const TSchemaName extends GetSchemaNames>(finalSchemas: FinalSchemas, schemaName: TSchemaName, overwrite: boolean, children: React.ReactNode | null, include?: Include>): CompoundComponents; export {};