import { AuditLogRequest, AuditLogResponse } from "../interfaces/response/AuditLogResponse"; /** * Retrieves the audit log configuration for the organization. * * Controls whether the organization's API requests and responses are stored for auditing. * Organizations can disable this if they don't need their API calls to be audited. * * @export * @return {Promise} Current audit log configuration * @throws {Error} Throws error for 403 (Forbidden) or other failures * * @example * const config = await getConfig(); * // Output: { logRequest: true, logResponse: false } */ export declare function getAuditConfig(): Promise; /** * Updates the audit log configuration for the organization. * * Controls whether the organization's API requests and responses are stored for auditing. * Organizations can disable this if they don't need their API calls to be audited. * * Note: If the configuration is already set to the requested values, the API will return * a 409 Conflict status with a message indicating no change was made. This is handled * gracefully and the current configuration is returned. * * @export * @param {AuditLogRequest} payload - Audit log configuration * @return {Promise} Updated configuration or current configuration if no change * @throws {Error} Throws error for 400 (Bad Request), 403 (Forbidden), or other failures * * @example * const result = await update({ logRequest: false, logResponse: false }); * // If already set to these values: * // { logRequest: false, logResponse: false, message: "No change in audit log configuration" } */ export declare function updateAuditConfig(payload: AuditLogRequest): Promise;