import type { UmbElementAuditLogModel } from '../types.js'; import type { UmbAuditLogRepository, UmbAuditLogRequestArgs, UmbAuditLogTagData } from '../../../core/audit-log/index.js'; import type { UmbControllerHost } from '../../../../libs/controller-api/index.js'; import { UmbRepositoryBase } from '../../../core/repository/index.js'; /** * Repository for the element audit log * @class UmbElementAuditLogRepository * @augments {UmbRepositoryBase} */ export declare class UmbElementAuditLogRepository extends UmbRepositoryBase implements UmbAuditLogRepository { #private; /** * Creates an instance of UmbElementAuditLogRepository. * @param {UmbControllerHost} host - The controller host for this controller to be appended to * @memberof UmbElementAuditLogRepository */ constructor(host: UmbControllerHost); /** * Request the audit log for an element * @param {UmbAuditLogRequestArgs} args * @returns {*} * @memberof UmbElementAuditLogRepository */ requestAuditLog(args: UmbAuditLogRequestArgs): Promise<{ data: { items: UmbElementAuditLogModel[]; total: number; }; error?: undefined; } | { error: import("../../../core/resources/index.js").UmbCancelError | import("../../../core/resources/index.js").UmbApiError | undefined; data?: undefined; }>; /** * Get the tag style and localization data for a given audit log type * @param {string} logType * @returns {UmbAuditLogTagData} * @memberof UmbElementAuditLogRepository */ getTagStyleAndText(logType: string): UmbAuditLogTagData; } export { UmbElementAuditLogRepository as api };