export interface SaveResult { warnings: Information[]; informations: Information[]; hasWarning: boolean; hasInformation: boolean; result: any | null; isValid: boolean; errors: Information[]; } export interface Information { propertyName: string; informationMessage: string; messageType: number; displayOrder: number; extraInfo1: any | null; extraInfo2: any | null; extraInfo3: any | null; } export interface SaveBodyV2 { collection: T & { CheckWarning?: 0 | 1; checkWarning?: 0 | 1; }; saveReason: number; } export interface SaveBody { CheckWarning: 0 | 1; checkWarning?: 0 | 1; [key: string]: any; } export interface SaveResponse { message: string; informations: Information[]; canceledByUser: boolean; confirmedByUser: boolean; saved: boolean; } export interface CheckWarningResponse { hasWarning: boolean; message: string; informations: Information[]; } export declare function isSaveResponse(obj: any): obj is SaveResponse; export declare function isSaveResult(obj: any): obj is SaveResult; export declare function generateWarningMessage(result: SaveResult): string; export declare function generateInformationMessage(result: SaveResult): string;