///
export interface ComprehensiveSearchProps {
dataSource?: any;
isShowScanner?: boolean;
isShowCamera?: boolean;
isShowNFC?: boolean;
isShowNewButton?: boolean;
newButtonAlign?: 'left' | 'center' | 'right';
newButtonText?: string;
newDialogDataSource?: any;
renderType?: 'modal' | 'drawer' | 'portal' | '';
containerProps?: Record;
isShowSearch?: boolean;
isShowSearchCamera?: boolean;
searchIcon?: string;
placeholder?: string;
isShowSearchButton?: boolean;
resultDisplay?: 'list' | 'grid';
resultSort?: 'asc' | 'desc' | 'custom';
sortBy?: string;
style?: React.CSSProperties;
loading?: boolean;
keyword?: string;
onKeywordChange?: (value: string) => void;
onSearch?: (value: string) => void;
onAdd?: () => void;
onDataChange?: (data: any) => void;
onRowClick?: (record: any, index: any) => void;
}
export interface SearchResult {
[key: string]: any;
}