import { type ReactElement } from "react"; interface ViewModeOption { label: string; value: string; } interface ViewModeFieldDef { type: "custom"; label: string; render: (props: { field: ViewModeFieldDef; name: string; id: string; label: string; value: string; onChange: (value: string) => void; readOnly?: boolean; }) => ReactElement; } export declare function createViewModeField(options: ViewModeOption[]): ViewModeFieldDef; export {};