import { z } from 'zod'; export declare const InboxItemStatus: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; export type InboxItemStatus = z.infer; export declare const InboxItemHandling: z.ZodObject<{ appendedAt: z.ZodOptional; appendedToItemId: z.ZodOptional; completedAt: z.ZodOptional; createdAt: z.ZodString; drainRequestedAt: z.ZodOptional; drainTimeoutMs: z.ZodOptional; failedAt: z.ZodOptional; queuedAt: z.ZodOptional; resumeReason: z.ZodOptional>; settledAt: z.ZodOptional; stagedAt: z.ZodOptional; startedAt: z.ZodOptional; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; stopRequestedAt: z.ZodOptional; updatedAt: z.ZodString; workerId: z.ZodOptional; }, z.core.$strip>; export type InboxItemHandling = z.infer; export declare const SlackInboxActor: z.ZodObject<{ displayName: z.ZodOptional; handle: z.ZodOptional; isBot: z.ZodOptional; realName: z.ZodOptional; timezone: z.ZodOptional; name: z.ZodString; offsetSeconds: z.ZodOptional; }, z.core.$strip>>; userId: z.ZodOptional; }, z.core.$strip>; export type SlackInboxActor = z.infer; export declare const InboxFileMeta: z.ZodObject<{ downloadError: z.ZodOptional; id: z.ZodString; mimetype: z.ZodString; name: z.ZodString; sizeBytes: z.ZodNumber; }, z.core.$strip>; export type InboxFileMeta = z.infer; export declare const SlackFileMeta: z.ZodObject<{ downloadError: z.ZodOptional; id: z.ZodString; mimetype: z.ZodString; name: z.ZodString; sizeBytes: z.ZodNumber; }, z.core.$strip>; export type SlackFileMeta = InboxFileMeta; export declare const SlackMessagePreviewFile: z.ZodObject<{ downloadError: z.ZodOptional; id: z.ZodString; mimetype: z.ZodString; name: z.ZodString; sizeBytes: z.ZodNumber; permalink: z.ZodOptional; }, z.core.$strip>; export type SlackMessagePreviewFile = z.infer; export declare const SlackMessagePreview: z.ZodObject<{ authorId: z.ZodOptional; authorName: z.ZodOptional; authorSubname: z.ZodOptional; channelId: z.ZodOptional; files: z.ZodOptional; id: z.ZodString; mimetype: z.ZodString; name: z.ZodString; sizeBytes: z.ZodNumber; permalink: z.ZodOptional; }, z.core.$strip>>>; fromUrl: z.ZodOptional; isPrivate: z.ZodOptional; messageTs: z.ZodOptional; text: z.ZodString; }, z.core.$strip>; export type SlackMessagePreview = z.infer; export declare const FeishuInboxActor: z.ZodObject<{ displayName: z.ZodOptional; openId: z.ZodOptional; senderType: z.ZodOptional; unionId: z.ZodOptional; userId: z.ZodOptional; }, z.core.$strip>; export type FeishuInboxActor = z.infer; /** Why this wake reached the agent; rendered as `wake=` in the delivery envelope. */ export declare const WakeReason: z.ZodEnum<{ dm: "dm"; channel_follow: "channel_follow"; mention: "mention"; thread_follow: "thread_follow"; }>; export type WakeReason = z.infer; export declare const SlackInboxItem: z.ZodObject<{ handling: z.ZodObject<{ appendedAt: z.ZodOptional; appendedToItemId: z.ZodOptional; completedAt: z.ZodOptional; createdAt: z.ZodString; drainRequestedAt: z.ZodOptional; drainTimeoutMs: z.ZodOptional; failedAt: z.ZodOptional; queuedAt: z.ZodOptional; resumeReason: z.ZodOptional>; settledAt: z.ZodOptional; stagedAt: z.ZodOptional; startedAt: z.ZodOptional; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; stopRequestedAt: z.ZodOptional; updatedAt: z.ZodString; workerId: z.ZodOptional; }, z.core.$strip>; id: z.ZodString; receivedAt: z.ZodString; actor: z.ZodOptional; handle: z.ZodOptional; isBot: z.ZodOptional; realName: z.ZodOptional; timezone: z.ZodOptional; name: z.ZodString; offsetSeconds: z.ZodOptional; }, z.core.$strip>>; userId: z.ZodOptional; }, z.core.$strip>>; attentionSuggestion: z.ZodOptional; channelId: z.ZodString; channelName: z.ZodOptional; files: z.ZodOptional; id: z.ZodString; mimetype: z.ZodString; name: z.ZodString; sizeBytes: z.ZodNumber; }, z.core.$strip>>>; kind: z.ZodLiteral<"slack">; messageTs: z.ZodString; permalink: z.ZodOptional; previews: z.ZodOptional; authorName: z.ZodOptional; authorSubname: z.ZodOptional; channelId: z.ZodOptional; files: z.ZodOptional; id: z.ZodString; mimetype: z.ZodString; name: z.ZodString; sizeBytes: z.ZodNumber; permalink: z.ZodOptional; }, z.core.$strip>>>; fromUrl: z.ZodOptional; isPrivate: z.ZodOptional; messageTs: z.ZodOptional; text: z.ZodString; }, z.core.$strip>>>; teamId: z.ZodString; text: z.ZodString; threadTs: z.ZodOptional; wakeReason: z.ZodOptional>; }, z.core.$strip>; export type SlackInboxItem = z.infer; export declare const FeishuQuotedMessage: z.ZodObject<{ actorLabel: z.ZodString; text: z.ZodString; }, z.core.$strip>; export type FeishuQuotedMessage = z.infer; export declare const FeishuInboxItem: z.ZodObject<{ handling: z.ZodObject<{ appendedAt: z.ZodOptional; appendedToItemId: z.ZodOptional; completedAt: z.ZodOptional; createdAt: z.ZodString; drainRequestedAt: z.ZodOptional; drainTimeoutMs: z.ZodOptional; failedAt: z.ZodOptional; queuedAt: z.ZodOptional; resumeReason: z.ZodOptional>; settledAt: z.ZodOptional; stagedAt: z.ZodOptional; startedAt: z.ZodOptional; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; stopRequestedAt: z.ZodOptional; updatedAt: z.ZodString; workerId: z.ZodOptional; }, z.core.$strip>; id: z.ZodString; receivedAt: z.ZodString; actor: z.ZodOptional; openId: z.ZodOptional; senderType: z.ZodOptional; unionId: z.ZodOptional; userId: z.ZodOptional; }, z.core.$strip>>; attentionSuggestion: z.ZodOptional; appId: z.ZodOptional; chatId: z.ZodString; chatName: z.ZodOptional; chatType: z.ZodString; files: z.ZodOptional; id: z.ZodString; mimetype: z.ZodString; name: z.ZodString; sizeBytes: z.ZodNumber; }, z.core.$strip>>>; kind: z.ZodLiteral<"feishu">; messageId: z.ZodString; parentId: z.ZodOptional; quotedMessage: z.ZodOptional>; rawContent: z.ZodOptional; rootId: z.ZodOptional; tenantKey: z.ZodOptional; text: z.ZodString; threadId: z.ZodOptional; wakeReason: z.ZodOptional>; }, z.core.$strip>; export type FeishuInboxItem = z.infer; export declare const FeishuOnboardingInboxItem: z.ZodObject<{ handling: z.ZodObject<{ appendedAt: z.ZodOptional; appendedToItemId: z.ZodOptional; completedAt: z.ZodOptional; createdAt: z.ZodString; drainRequestedAt: z.ZodOptional; drainTimeoutMs: z.ZodOptional; failedAt: z.ZodOptional; queuedAt: z.ZodOptional; resumeReason: z.ZodOptional>; settledAt: z.ZodOptional; stagedAt: z.ZodOptional; startedAt: z.ZodOptional; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; stopRequestedAt: z.ZodOptional; updatedAt: z.ZodString; workerId: z.ZodOptional; }, z.core.$strip>; id: z.ZodString; receivedAt: z.ZodString; kind: z.ZodLiteral<"feishu_onboarding">; owner: z.ZodObject<{ openId: z.ZodString; tenantBrand: z.ZodOptional>; }, z.core.$strict>; target: z.ZodObject<{ platform: z.ZodLiteral<"feishu">; receiveId: z.ZodString; receiveIdType: z.ZodLiteral<"open_id">; }, z.core.$strict>; text: z.ZodString; }, z.core.$strip>; export type FeishuOnboardingInboxItem = z.infer; export declare const ReminderInboxItem: z.ZodObject<{ handling: z.ZodObject<{ appendedAt: z.ZodOptional; appendedToItemId: z.ZodOptional; completedAt: z.ZodOptional; createdAt: z.ZodString; drainRequestedAt: z.ZodOptional; drainTimeoutMs: z.ZodOptional; failedAt: z.ZodOptional; queuedAt: z.ZodOptional; resumeReason: z.ZodOptional>; settledAt: z.ZodOptional; stagedAt: z.ZodOptional; startedAt: z.ZodOptional; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; stopRequestedAt: z.ZodOptional; updatedAt: z.ZodString; workerId: z.ZodOptional; }, z.core.$strip>; id: z.ZodString; receivedAt: z.ZodString; kind: z.ZodLiteral<"reminder">; preflightEvidence: z.ZodOptional; reminderId: z.ZodString; scheduledAt: z.ZodOptional; title: z.ZodOptional; }, z.core.$strip>; export type ReminderInboxItem = z.infer; export declare const MemoryCoherenceInboxItem: z.ZodObject<{ handling: z.ZodObject<{ appendedAt: z.ZodOptional; appendedToItemId: z.ZodOptional; completedAt: z.ZodOptional; createdAt: z.ZodString; drainRequestedAt: z.ZodOptional; drainTimeoutMs: z.ZodOptional; failedAt: z.ZodOptional; queuedAt: z.ZodOptional; resumeReason: z.ZodOptional>; settledAt: z.ZodOptional; stagedAt: z.ZodOptional; startedAt: z.ZodOptional; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; stopRequestedAt: z.ZodOptional; updatedAt: z.ZodString; workerId: z.ZodOptional; }, z.core.$strip>; id: z.ZodString; receivedAt: z.ZodString; kind: z.ZodLiteral<"memory_coherence">; scheduledSlotAt: z.ZodString; scheduledSlotLabel: z.ZodString; }, z.core.$strip>; export type MemoryCoherenceInboxItem = z.infer; export declare const OnboardingInboxItem: z.ZodObject<{ handling: z.ZodObject<{ appendedAt: z.ZodOptional; appendedToItemId: z.ZodOptional; completedAt: z.ZodOptional; createdAt: z.ZodString; drainRequestedAt: z.ZodOptional; drainTimeoutMs: z.ZodOptional; failedAt: z.ZodOptional; queuedAt: z.ZodOptional; resumeReason: z.ZodOptional>; settledAt: z.ZodOptional; stagedAt: z.ZodOptional; startedAt: z.ZodOptional; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; stopRequestedAt: z.ZodOptional; updatedAt: z.ZodString; workerId: z.ZodOptional; }, z.core.$strip>; id: z.ZodString; receivedAt: z.ZodString; channelId: z.ZodString; kind: z.ZodLiteral<"onboarding">; operator: z.ZodObject<{ displayName: z.ZodString; handle: z.ZodOptional; slackUserId: z.ZodString; }, z.core.$strict>; teamId: z.ZodString; text: z.ZodString; }, z.core.$strip>; export type OnboardingInboxItem = z.infer; export declare const ChoiceResponseInboxItem: z.ZodObject<{ handling: z.ZodObject<{ appendedAt: z.ZodOptional; appendedToItemId: z.ZodOptional; completedAt: z.ZodOptional; createdAt: z.ZodString; drainRequestedAt: z.ZodOptional; drainTimeoutMs: z.ZodOptional; failedAt: z.ZodOptional; queuedAt: z.ZodOptional; resumeReason: z.ZodOptional>; settledAt: z.ZodOptional; stagedAt: z.ZodOptional; startedAt: z.ZodOptional; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; stopRequestedAt: z.ZodOptional; updatedAt: z.ZodString; workerId: z.ZodOptional; }, z.core.$strip>; id: z.ZodString; receivedAt: z.ZodString; answeredBy: z.ZodObject<{ displayName: z.ZodOptional; handle: z.ZodOptional; slackUserId: z.ZodString; }, z.core.$strict>; askId: z.ZodString; channelId: z.ZodString; channelName: z.ZodOptional; kind: z.ZodLiteral<"choice_response">; messageTs: z.ZodString; optionId: z.ZodString; optionLabel: z.ZodString; question: z.ZodString; teamId: z.ZodString; threadTs: z.ZodString; }, z.core.$strip>; export type ChoiceResponseInboxItem = z.infer; export declare const InboxItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ handling: z.ZodObject<{ appendedAt: z.ZodOptional; appendedToItemId: z.ZodOptional; completedAt: z.ZodOptional; createdAt: z.ZodString; drainRequestedAt: z.ZodOptional; drainTimeoutMs: z.ZodOptional; failedAt: z.ZodOptional; queuedAt: z.ZodOptional; resumeReason: z.ZodOptional>; settledAt: z.ZodOptional; stagedAt: z.ZodOptional; startedAt: z.ZodOptional; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; stopRequestedAt: z.ZodOptional; updatedAt: z.ZodString; workerId: z.ZodOptional; }, z.core.$strip>; id: z.ZodString; receivedAt: z.ZodString; actor: z.ZodOptional; handle: z.ZodOptional; isBot: z.ZodOptional; realName: z.ZodOptional; timezone: z.ZodOptional; name: z.ZodString; offsetSeconds: z.ZodOptional; }, z.core.$strip>>; userId: z.ZodOptional; }, z.core.$strip>>; attentionSuggestion: z.ZodOptional; channelId: z.ZodString; channelName: z.ZodOptional; files: z.ZodOptional; id: z.ZodString; mimetype: z.ZodString; name: z.ZodString; sizeBytes: z.ZodNumber; }, z.core.$strip>>>; kind: z.ZodLiteral<"slack">; messageTs: z.ZodString; permalink: z.ZodOptional; previews: z.ZodOptional; authorName: z.ZodOptional; authorSubname: z.ZodOptional; channelId: z.ZodOptional; files: z.ZodOptional; id: z.ZodString; mimetype: z.ZodString; name: z.ZodString; sizeBytes: z.ZodNumber; permalink: z.ZodOptional; }, z.core.$strip>>>; fromUrl: z.ZodOptional; isPrivate: z.ZodOptional; messageTs: z.ZodOptional; text: z.ZodString; }, z.core.$strip>>>; teamId: z.ZodString; text: z.ZodString; threadTs: z.ZodOptional; wakeReason: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ handling: z.ZodObject<{ appendedAt: z.ZodOptional; appendedToItemId: z.ZodOptional; completedAt: z.ZodOptional; createdAt: z.ZodString; drainRequestedAt: z.ZodOptional; drainTimeoutMs: z.ZodOptional; failedAt: z.ZodOptional; queuedAt: z.ZodOptional; resumeReason: z.ZodOptional>; settledAt: z.ZodOptional; stagedAt: z.ZodOptional; startedAt: z.ZodOptional; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; stopRequestedAt: z.ZodOptional; updatedAt: z.ZodString; workerId: z.ZodOptional; }, z.core.$strip>; id: z.ZodString; receivedAt: z.ZodString; actor: z.ZodOptional; openId: z.ZodOptional; senderType: z.ZodOptional; unionId: z.ZodOptional; userId: z.ZodOptional; }, z.core.$strip>>; attentionSuggestion: z.ZodOptional; appId: z.ZodOptional; chatId: z.ZodString; chatName: z.ZodOptional; chatType: z.ZodString; files: z.ZodOptional; id: z.ZodString; mimetype: z.ZodString; name: z.ZodString; sizeBytes: z.ZodNumber; }, z.core.$strip>>>; kind: z.ZodLiteral<"feishu">; messageId: z.ZodString; parentId: z.ZodOptional; quotedMessage: z.ZodOptional>; rawContent: z.ZodOptional; rootId: z.ZodOptional; tenantKey: z.ZodOptional; text: z.ZodString; threadId: z.ZodOptional; wakeReason: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ handling: z.ZodObject<{ appendedAt: z.ZodOptional; appendedToItemId: z.ZodOptional; completedAt: z.ZodOptional; createdAt: z.ZodString; drainRequestedAt: z.ZodOptional; drainTimeoutMs: z.ZodOptional; failedAt: z.ZodOptional; queuedAt: z.ZodOptional; resumeReason: z.ZodOptional>; settledAt: z.ZodOptional; stagedAt: z.ZodOptional; startedAt: z.ZodOptional; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; stopRequestedAt: z.ZodOptional; updatedAt: z.ZodString; workerId: z.ZodOptional; }, z.core.$strip>; id: z.ZodString; receivedAt: z.ZodString; kind: z.ZodLiteral<"feishu_onboarding">; owner: z.ZodObject<{ openId: z.ZodString; tenantBrand: z.ZodOptional>; }, z.core.$strict>; target: z.ZodObject<{ platform: z.ZodLiteral<"feishu">; receiveId: z.ZodString; receiveIdType: z.ZodLiteral<"open_id">; }, z.core.$strict>; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ handling: z.ZodObject<{ appendedAt: z.ZodOptional; appendedToItemId: z.ZodOptional; completedAt: z.ZodOptional; createdAt: z.ZodString; drainRequestedAt: z.ZodOptional; drainTimeoutMs: z.ZodOptional; failedAt: z.ZodOptional; queuedAt: z.ZodOptional; resumeReason: z.ZodOptional>; settledAt: z.ZodOptional; stagedAt: z.ZodOptional; startedAt: z.ZodOptional; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; stopRequestedAt: z.ZodOptional; updatedAt: z.ZodString; workerId: z.ZodOptional; }, z.core.$strip>; id: z.ZodString; receivedAt: z.ZodString; kind: z.ZodLiteral<"reminder">; preflightEvidence: z.ZodOptional; reminderId: z.ZodString; scheduledAt: z.ZodOptional; title: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ handling: z.ZodObject<{ appendedAt: z.ZodOptional; appendedToItemId: z.ZodOptional; completedAt: z.ZodOptional; createdAt: z.ZodString; drainRequestedAt: z.ZodOptional; drainTimeoutMs: z.ZodOptional; failedAt: z.ZodOptional; queuedAt: z.ZodOptional; resumeReason: z.ZodOptional>; settledAt: z.ZodOptional; stagedAt: z.ZodOptional; startedAt: z.ZodOptional; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; stopRequestedAt: z.ZodOptional; updatedAt: z.ZodString; workerId: z.ZodOptional; }, z.core.$strip>; id: z.ZodString; receivedAt: z.ZodString; kind: z.ZodLiteral<"memory_coherence">; scheduledSlotAt: z.ZodString; scheduledSlotLabel: z.ZodString; }, z.core.$strip>, z.ZodObject<{ handling: z.ZodObject<{ appendedAt: z.ZodOptional; appendedToItemId: z.ZodOptional; completedAt: z.ZodOptional; createdAt: z.ZodString; drainRequestedAt: z.ZodOptional; drainTimeoutMs: z.ZodOptional; failedAt: z.ZodOptional; queuedAt: z.ZodOptional; resumeReason: z.ZodOptional>; settledAt: z.ZodOptional; stagedAt: z.ZodOptional; startedAt: z.ZodOptional; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; stopRequestedAt: z.ZodOptional; updatedAt: z.ZodString; workerId: z.ZodOptional; }, z.core.$strip>; id: z.ZodString; receivedAt: z.ZodString; channelId: z.ZodString; kind: z.ZodLiteral<"onboarding">; operator: z.ZodObject<{ displayName: z.ZodString; handle: z.ZodOptional; slackUserId: z.ZodString; }, z.core.$strict>; teamId: z.ZodString; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ handling: z.ZodObject<{ appendedAt: z.ZodOptional; appendedToItemId: z.ZodOptional; completedAt: z.ZodOptional; createdAt: z.ZodString; drainRequestedAt: z.ZodOptional; drainTimeoutMs: z.ZodOptional; failedAt: z.ZodOptional; queuedAt: z.ZodOptional; resumeReason: z.ZodOptional>; settledAt: z.ZodOptional; stagedAt: z.ZodOptional; startedAt: z.ZodOptional; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; queued: "queued"; running: "running"; }>; stopRequestedAt: z.ZodOptional; updatedAt: z.ZodString; workerId: z.ZodOptional; }, z.core.$strip>; id: z.ZodString; receivedAt: z.ZodString; answeredBy: z.ZodObject<{ displayName: z.ZodOptional; handle: z.ZodOptional; slackUserId: z.ZodString; }, z.core.$strict>; askId: z.ZodString; channelId: z.ZodString; channelName: z.ZodOptional; kind: z.ZodLiteral<"choice_response">; messageTs: z.ZodString; optionId: z.ZodString; optionLabel: z.ZodString; question: z.ZodString; teamId: z.ZodString; threadTs: z.ZodString; }, z.core.$strip>], "kind">; export type InboxItem = z.infer; export declare function isAppendedRunningInboxItem(item: InboxItem): boolean; export declare function isPrimaryRunningInboxItem(item: InboxItem): boolean; /** Queued and published — workers may claim. Staged rows are durable but not runnable. */ export declare function isClaimableQueuedInboxItem(item: InboxItem): boolean; //# sourceMappingURL=inbox.d.ts.map