/**
 * Cloudflare AUDIT-LOGS API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service audit-logs
 */
import * as Schema from "effect/Schema";
import type * as HttpClient from "effect/unstable/http/HttpClient";
import * as API from "../client/api.ts";
import type { Credentials } from "../credentials.ts";
import { type DefaultErrors } from "../errors.ts";
export interface ListAuditLogsRequest {
    /** Path param: Identifier */
    accountId: string;
    page?: number;
    perPage?: number;
    /** Query param: Finds a specific log by its ID. */
    id?: string;
    /** Query param: */
    action?: {
        type?: string;
    };
    /** Query param: */
    actor?: {
        email?: string;
        ip?: string;
    };
    /** Query param: Limits the returned results to logs older than the specified date. A `full-date` that conforms to RFC3339. */
    before?: unknown;
    /** Query param: Changes the direction of the chronological sorting. */
    direction?: "desc" | "asc";
    /** Query param: Indicates that this request is an export of logs in CSV format. */
    export?: boolean;
    /** Query param: Indicates whether or not to hide user level audit logs. */
    hideUserLogs?: boolean;
    /** Query param: Limits the returned results to logs newer than the specified date. A `full-date` that conforms to RFC3339. */
    since?: unknown;
    /** Query param: */
    zone?: {
        name?: string;
    };
}
export declare const ListAuditLogsRequest: Schema.Schema<ListAuditLogsRequest>;
export interface ListAuditLogsResponse {
    result: {
        id?: string | null;
        action?: {
            result?: boolean | null;
            type?: string | null;
        } | null;
        actor?: {
            id?: string | null;
            email?: string | null;
            ip?: string | null;
            type?: "user" | "admin" | "Cloudflare" | null;
        } | null;
        interface?: string | null;
        metadata?: unknown | null;
        newValue?: string | null;
        oldValue?: string | null;
        owner?: {
            id?: string | null;
        } | null;
        resource?: {
            id?: string | null;
            type?: string | null;
        } | null;
        when?: string | null;
    }[];
    resultInfo?: {
        count?: number | null;
        page?: number | null;
        perPage?: number | null;
        totalCount?: number | null;
    } | null;
}
export declare const ListAuditLogsResponse: Schema.Schema<ListAuditLogsResponse>;
export type ListAuditLogsError = DefaultErrors;
export declare const listAuditLogs: API.PaginatedOperationMethod<ListAuditLogsRequest, ListAuditLogsResponse, ListAuditLogsError, Credentials | HttpClient.HttpClient>;
//# sourceMappingURL=audit-logs.d.ts.map