import { z } from "zod";
import { type LeasedTriggerMessageItem } from "../../../schemas/TriggerMessage";
export declare const LeaseTriggerInboxMessagesSchema: z.ZodObject<{
    inbox: z.ZodString & {
        _def: z.core.$ZodStringDef & import("../../..").PositionalMetadata;
    };
    leaseLimit: z.ZodOptional<z.ZodNumber>;
    leaseSeconds: z.ZodOptional<z.ZodNumber>;
    signal: z.ZodOptional<z.ZodCustom<AbortSignal, AbortSignal>>;
}, z.core.$strip>;
export type LeaseTriggerInboxMessagesOptions = z.infer<typeof LeaseTriggerInboxMessagesSchema>;
export declare const LeaseTriggerInboxMessagesItemSchema: z.ZodObject<{
    lease_id: z.ZodNullable<z.ZodString>;
    leased_until: z.ZodNullable<z.ZodString>;
    results: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        created_at: z.ZodString;
        status: z.ZodUnion<readonly [z.ZodEnum<{
            available: "available";
            leased: "leased";
            acked: "acked";
            quarantined: "quarantined";
        }>, z.ZodString]>;
        message_attributes: z.ZodObject<{
            lease_count: z.ZodNumber;
            error_message: z.ZodNullable<z.ZodString>;
            possible_duplicate_data: z.ZodBoolean;
        }, z.core.$strip>;
        payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    }, z.core.$strip>>;
    inbox_attributes: z.ZodObject<{
        status: z.ZodUnion<readonly [z.ZodEnum<{
            initializing: "initializing";
            active: "active";
            paused: "paused";
            deleting: "deleting";
            initialization_failure: "initialization_failure";
        }>, z.ZodString]>;
        paused_reason: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
            unknown: "unknown";
            user: "user";
            authentication: "authentication";
            authentication_access_revoked: "authentication_access_revoked";
            partner_revoked: "partner_revoked";
            subscribe_failed: "subscribe_failed";
            migrate_failed: "migrate_failed";
            abandoned: "abandoned";
            upstream_failures: "upstream_failures";
        }>, z.ZodString]>>;
    }, z.core.$strip>;
}, z.core.$strip>;
export type LeaseTriggerInboxMessagesItem = z.infer<typeof LeaseTriggerInboxMessagesItemSchema>;
export interface LeaseTriggerInboxMessagesResult {
    data: LeaseTriggerInboxMessagesItem;
}
export type LeasedMessage = LeasedTriggerMessageItem;
//# sourceMappingURL=schemas.d.ts.map