import type { HttpClient } from "../core/http.js"; import type { AuditQuery, AuditEventsResponse, AuditVerifyQuery, AuditVerifyResponse, OneclawResponse } from "../types.js"; /** * Audit resource — query the immutable audit log of all vault operations. */ export declare class AuditResource { private readonly http; constructor(http: HttpClient); /** * Query audit events with optional filters. * * @example * ```ts * const events = await client.audit.query({ * resource_id: vaultId, * action: "secret.read", * limit: 25, * }); * ``` */ query(filters?: AuditQuery): Promise>; /** * Verify audit hash chain integrity for the calling organization. * * @example * ```ts * const { data } = await client.audit.verify({ limit: 1000 }); * console.log(data?.chain_valid); * ``` */ verify(filters?: AuditVerifyQuery): Promise>; } //# sourceMappingURL=audit.d.ts.map