export type RecordMode = 'add' | 'edit' | 'view';
export interface CanvasRecordViewProps {
    dataSourceId: string;
    mode?: RecordMode;
    defaultValues?: Record<string, any> | string;
    recordId?: string;
    onSave?: (id: string, data: Record<string, any>) => void;
    onClose?: () => void;
}
export declare function CanvasRecordView({ dataSourceId, mode, defaultValues, recordId, onSave, onClose }: CanvasRecordViewProps): import("react/jsx-runtime").JSX.Element;
