import { IAdapter, IRecordStore } from './interfaces'; import { AdapterInterface } from './adapter_interface'; export declare class Adapter implements IAdapter { config: any; sourceInterface: AdapterInterface; initialize(): void; loadRecords(localRecords?: IRecordStore): IRecordStore | Array; addRecord(record: T): T; removeRecord(record: T, id: string): T; getRecord(id: string, currentRecord: T): T; setRecord(id: string, newRecord: T, oldRecord: T): T; addRecordCollection(collection: T[] | IRecordStore): T[]; getRecordCollection(ids: Array): T[]; removeRecordCollection(collection: T[] | IRecordStore): T[]; updateRecordCollection(collection: T[] | IRecordStore): T[]; getRecordPage(pageSize: number, pageNumber: number, optionalArgs: any): T[]; getRecordCount(): number; getRecordId(record: T): string; recordsEqual(a: T, b: T): boolean; action(actionId: string, ...args: any[]): any; query(queryId: string, ...args: any[]): any; }