import TransactionModel from './TransactionModel'; export interface SearchResult { total: number; success: boolean; error?: string; items?: TransactionModel[]; } export interface SearchOptions { viewName: string; criteria: { [fieldName: string]: string; }; sortColumn: number; sortDirection: string; start: number; limit: number; } export declare type SearchOptionsMap = { [appInstanceName: string]: { [viewName: string]: SearchOptions; }; };