import React from 'react'; export interface DynamicCRUDPageStrings { refresh?: string; export?: string; import?: string; /** Used as the create button label when `newLabel` is not provided. * Receives the singular form of the title. */ newPrefix?: string; } export interface DynamicCRUDPageClasses { root?: string; container?: string; header?: string; title?: string; toolbar?: string; tableWrapper?: string; } export interface DynamicCRUDPageProps { /** Model key as registered on the backend (e.g. "customers"). */ model: string; /** Override the data endpoint. Defaults to `/dynamic/`. */ endpoint?: string; /** Override the human title. Defaults to `metadata.title`. */ title?: string; /** Override the create button label. Defaults to `${newPrefix} ${singular}`. */ newLabel?: string; /** Strings used in default labels — pass when the host has its own i18n. */ i18n?: DynamicCRUDPageStrings; /** Hide the create button + dialog even when metadata says CRUD is enabled. */ hideCreate?: boolean; hideExport?: boolean; hideImport?: boolean; hideRefresh?: boolean; /** Slot rendered above the title row (e.g. branch switcher, kpi strip). */ headerExtras?: React.ReactNode; /** Slot rendered in the toolbar, before the create button. */ toolbarExtras?: React.ReactNode; /** Tailwind class overrides for layout primitives. */ classes?: DynamicCRUDPageClasses; /** Fired after a create/import/refresh successfully reloads the table. */ onChange?: () => void; } /** * Page-level CRUD shell wired around . Hosts mount a single * `` per route and the SDK takes care of * metadata fetch, dialogs and toolbar. */ export declare function DynamicCRUDPage(props: DynamicCRUDPageProps): React.JSX.Element; //# sourceMappingURL=dynamic-crud-page.d.ts.map