import { ColumnRenderer, ColumnSpec, GridModel } from '@xh/hoist/cmp/grid'; import { HoistModel, LoadSpec } from '@xh/hoist/core'; import { RecordActionSpec } from '@xh/hoist/data'; import { RestGridModel } from '@xh/hoist/desktop/cmp/rest'; import { DifferDetailModel } from './DifferDetailModel'; /** * @internal */ export declare class DifferModel extends HoistModel { telemetryPrefix: string; parentModel: HoistModel & { gridModel: RestGridModel; closeDiffer: () => void; }; entityName: string; displayName: string; columnFields: Array>; matchFields: string[]; valueRenderer: ColumnRenderer; url: string; private clipboardContent; detailModel: DifferDetailModel; gridModel: GridModel; remoteHost: string; hasLoaded: boolean; get readonly(): boolean; applyRemoteAction: RecordActionSpec; /** * All other configured appInstances URLs, excepting the current one. * (Use of startsWith allows configs to end in trailing /) */ get remoteHosts(): string[]; constructor({ parentModel, entityName, displayName, columnFields, matchFields, valueRenderer }: Partial); doLoadAsync(loadSpec: LoadSpec): Promise; diffFromRemote(): void; diffFromClipboardAsync(): Promise; processResponse(resp: any): void; processFailedLoad(): void; diffRawRecords(localRecords: any, remoteRecords: any): any[]; rawRecordsAreEqual(local: any, remote: any): boolean; cleanRawData(data: any): any; confirmApplyRemote(records: any): void; isPwd(rec: any): boolean; isOverridden(rec: any): boolean; doApplyRemote(records: any): void; showNoDiffToast(): void; fieldRenderer(v: any, { record, column }: { record: any; column: any; }): any; fetchLocalAsync(): Promise; private readConfigFromClipboardAsync; }