import * as HttpClient from "effect/unstable/http/HttpClient";
import * as S from "effect/Schema";
import * as API from "../client/api.ts";
import type { Credentials } from "../credentials.ts";
import type { CommonErrors } from "../errors.ts";
import type { Region } from "../region.ts";
export type Uuid = string;
export type ChannelArn = string;
export type ExternalId = string;
export type ErrorCode = string;
export type ErrorMessage = string;
export interface AuditEvent {
    id: string;
    eventData: string;
    eventDataChecksum?: string;
}
export declare const AuditEvent: S.Schema<AuditEvent>;
export type AuditEvents = AuditEvent[];
export declare const AuditEvents: S.$Array<S.Schema<AuditEvent>>;
export interface PutAuditEventsRequest {
    auditEvents: AuditEvent[];
    channelArn: string;
    externalId?: string;
}
export declare const PutAuditEventsRequest: S.Schema<PutAuditEventsRequest>;
export interface AuditEventResultEntry {
    id: string;
    eventID: string;
}
export declare const AuditEventResultEntry: S.Schema<AuditEventResultEntry>;
export type AuditEventResultEntries = AuditEventResultEntry[];
export declare const AuditEventResultEntries: S.$Array<S.Schema<AuditEventResultEntry>>;
export interface ResultErrorEntry {
    id: string;
    errorCode: string;
    errorMessage: string;
}
export declare const ResultErrorEntry: S.Schema<ResultErrorEntry>;
export type ResultErrorEntries = ResultErrorEntry[];
export declare const ResultErrorEntries: S.$Array<S.Schema<ResultErrorEntry>>;
export interface PutAuditEventsResponse {
    successful: AuditEventResultEntry[];
    failed: ResultErrorEntry[];
}
export declare const PutAuditEventsResponse: S.Schema<PutAuditEventsResponse>;
declare const ChannelInsufficientPermission_base: S.Class<ChannelInsufficientPermission, S.TaggedStruct<"ChannelInsufficientPermission", {
    readonly message: S.optional<S.String>;
}>, import("effect/Cause").YieldableError>;
export declare class ChannelInsufficientPermission extends ChannelInsufficientPermission_base {
}
declare const ChannelNotFound_base: S.Class<ChannelNotFound, S.TaggedStruct<"ChannelNotFound", {
    readonly message: S.optional<S.String>;
}>, import("effect/Cause").YieldableError>;
export declare class ChannelNotFound extends ChannelNotFound_base {
}
declare const ChannelUnsupportedSchema_base: S.Class<ChannelUnsupportedSchema, S.TaggedStruct<"ChannelUnsupportedSchema", {
    readonly message: S.optional<S.String>;
}>, import("effect/Cause").YieldableError>;
export declare class ChannelUnsupportedSchema extends ChannelUnsupportedSchema_base {
}
declare const DuplicatedAuditEventId_base: S.Class<DuplicatedAuditEventId, S.TaggedStruct<"DuplicatedAuditEventId", {
    readonly message: S.optional<S.String>;
}>, import("effect/Cause").YieldableError>;
export declare class DuplicatedAuditEventId extends DuplicatedAuditEventId_base {
}
declare const InvalidChannelARN_base: S.Class<InvalidChannelARN, S.TaggedStruct<"InvalidChannelARN", {
    readonly message: S.optional<S.String>;
}>, import("effect/Cause").YieldableError>;
export declare class InvalidChannelARN extends InvalidChannelARN_base {
}
declare const UnsupportedOperationException_base: S.Class<UnsupportedOperationException, S.TaggedStruct<"UnsupportedOperationException", {
    readonly message: S.optional<S.String>;
}>, import("effect/Cause").YieldableError>;
export declare class UnsupportedOperationException extends UnsupportedOperationException_base {
}
export type PutAuditEventsError = ChannelInsufficientPermission | ChannelNotFound | ChannelUnsupportedSchema | DuplicatedAuditEventId | InvalidChannelARN | UnsupportedOperationException | CommonErrors;
/**
 * Ingests your application events into CloudTrail Lake. A required parameter,
 * `auditEvents`, accepts the JSON records (also called
 * *payload*) of events that you want CloudTrail to ingest. You
 * can add up to 100 of these events (or up to 1 MB) per `PutAuditEvents`
 * request.
 */
export declare const putAuditEvents: API.OperationMethod<PutAuditEventsRequest, PutAuditEventsResponse, PutAuditEventsError, Credentials | Region | HttpClient.HttpClient>;
export {};
//# sourceMappingURL=cloudtrail-data.d.ts.map