import type { UmbElementAuditLogModel } from '../types.js'; import type { UmbAuditLogDataSource, UmbAuditLogRequestArgs } from '../../../core/audit-log/index.js'; import type { UmbControllerHost } from '../../../../libs/controller-api/index.js'; /** * Server data source for the element audit log * @class UmbAuditLogServerDataSource */ export declare class UmbElementAuditLogServerDataSource implements UmbAuditLogDataSource { #private; /** * Creates an instance of UmbAuditLogServerDataSource. * @param {UmbControllerHost} host - The controller host for this controller to be appended to * @memberof UmbAuditLogServerDataSource */ constructor(host: UmbControllerHost); /** * Get the audit log for an element * @param {UmbAuditLogRequestArgs} args The request arguments * @returns {UmbDataSourceResponse>} The data source response containing a paged model of audit log items * @memberof UmbElementAuditLogServerDataSource */ getAuditLog(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; }>; }