import type { DataResourceSurface } from 'openxiangda-contracts/browser'; import type { ReactNode } from 'react'; export interface StandardResourcePageProps { resource: string; surface?: DataResourceSurface; title: string; description?: string; } interface ResourceListPageProps extends StandardResourcePageProps { readCapability: string; createCapability?: string; createPath?: string; onExport?: () => void; importDisabledReason?: string; children: ReactNode; } /** * The standard admin list shell. Data fetching stays in the app's Refine * provider; this component owns the stable page chrome and CRUD actions. */ export declare function ResourceListPage({ resource, surface, title, readCapability, children, }: ResourceListPageProps): import("react/jsx-runtime").JSX.Element; /** Mobile list shell: the same capability gate with a compact, app-owned list. */ export declare function MobileResourceListPage({ resource, surface, title, description, readCapability, createCapability, createPath, onExport, children, }: ResourceListPageProps): import("react/jsx-runtime").JSX.Element; interface ResourceFormPageProps extends StandardResourcePageProps { mode: 'create' | 'edit'; capability: string; loading?: boolean; notFound?: boolean; backPath: string; backLabel: string; onBack?: () => void; detailPath?: string; recordSummary?: ReactNode; headerActions?: ReactNode; children: ReactNode; } /** Standard full-page entry shares its lifecycle with drawer entry. */ export declare function ResourceFormPage({ resource, surface, capability, loading, notFound, backPath, backLabel, onBack, recordSummary, title, children, }: ResourceFormPageProps): import("react/jsx-runtime").JSX.Element; export declare function MobileResourceFormPage({ resource, surface, title, capability, loading, notFound, headerActions, recordSummary, children, }: ResourceFormPageProps): import("react/jsx-runtime").JSX.Element; interface ResourceDetailPageProps extends StandardResourcePageProps { actions?: ReactNode; readCapability: string; loading?: boolean; error?: string; backPath: string; backLabel: string; editCapability?: string; editPath?: string; hero: ReactNode; children: ReactNode; } export declare function ResourceDetailPage(props: ResourceDetailPageProps): import("react/jsx-runtime").JSX.Element; export declare function MobileResourceDetailPage(props: ResourceDetailPageProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=StandardResourcePages.d.ts.map