type ImportRecordErrors = { [bag: string]: { [key: string]: string[]; }; }; export default class ImportRecord { private readonly properties; readonly rowIndex: number; private errors; private rejected; private rejectedReason; static readonly EMPTY: ImportRecord; constructor(properties: { [key: string]: string; }, rowIndex?: number); isEmpty(): boolean; get(key: string): string; set(key: string, value: string): void; clone(config?: { withErrors: boolean; }): ImportRecord; isInvalid(): boolean; countAllErrors(): number; clearErrors(bag?: string): void; addError(key: string, error: string, bag?: string): void; includesError(error: string): boolean; hasErrors(key: string): boolean; getErrors(key: string): string[]; setErrors(errors: ImportRecordErrors): void; isRejected(): boolean; markAsRejected(reason?: string): void; getRejectedReason(): string; getProperties(): { [key: string]: string; }; includesString(query: string, config?: { ignoreCase?: boolean; exactMatch?: boolean; property?: string; }): boolean; replaceString(query: string, replaceWith: string, config?: { ignoreCase?: boolean; exactMatch?: boolean; property?: string; }): boolean; unflatten(): { [key: string]: any; }; } export {};