import * as S from "@distilled.cloud/core/schema"; import * as API from "@distilled.cloud/core/api"; import { type CloudflareOpError, type CloudflareOpContext } from "../protocol.ts"; export type { CloudflareOpError, CloudflareOpContext }; export interface ListRequestAction { /** Filters by the action type. */ type?: string; } export declare const ListRequestAction: S.Schema; export interface ListRequestActor { /** Filters by the email address of the actor that made the change. */ email?: string; /** Filters by the IP address of the request that made the change by specific IP address or valid CIDR Range. */ ip?: string; } export declare const ListRequestActor: S.Schema; export type ListRequestDirection = "desc" | "asc"; export declare const ListRequestDirection: any; export interface ListRequestZone { /** Filters by the name of the zone associated to the change. */ name?: string; } export declare const ListRequestZone: S.Schema; export interface ListAuditLogsRequest { /** Identifier */ accountId: string; /** Finds a specific log by its ID. */ id?: string; action?: ListRequestAction; actor?: ListRequestActor; /** Limits the returned results to logs older than the specified date. A `full-date` that conforms to RFC3339. */ before?: string; /** Changes the direction of the chronological sorting. */ direction?: ListRequestDirection | (string & {}); /** Indicates that this request is an export of logs in CSV format. */ export?: boolean; /** Indicates whether or not to hide user level audit logs. */ hideUserLogs?: boolean; /** Defines which page of results to return. */ page?: number; /** Sets the number of results to return per page. */ perPage?: number; /** Limits the returned results to logs newer than the specified date. A `full-date` that conforms to RFC3339. */ since?: string; zone?: ListRequestZone; } export declare const ListAuditLogsRequest: S.Schema; /** Raw response payload (operation does not use the standard v4 result envelope). */ export interface ListAuditLogsResponse { } export declare const ListAuditLogsResponse: S.Schema; export type ListAuditLogsError = CloudflareOpError; /** Gets a list of audit logs for an account. Can be filtered by who made the change, on which zone, and the timeframe of the change. */ export declare const listAuditLogs: API.OperationMethod; //# sourceMappingURL=audit_logs.d.ts.map