import { type AttachmentStore, type ImageAttachmentRef } from '@deepseek-ai/dsh-attachment'; import type { DeliveryAdapterRegistry } from './coordinator.js'; import { type DeliveryStore } from './store.js'; import type { ConversationBinding, InboundEnvelope } from './types.js'; export type InboundImageMaterializeResult = { outcome: 'ready'; imageAttachments: readonly ImageAttachmentRef[]; } | { outcome: 'not-ready'; failureCode: string; retryable: boolean; retryAfterMs?: number; }; export interface InboundImageMaterializeInput { inboxId: string; ownerId: string; fencingToken: number; binding: Readonly; envelope: Readonly; signal: AbortSignal; } interface InboundImageMaterializerOptions { store: DeliveryStore; registry: DeliveryAdapterRegistry; getAttachments(): AttachmentStore | undefined; isAuthorized(binding: Readonly, envelope: Readonly): boolean; } /** * Materializes authorized provider image resources before the Agent dispatch marker. * Provider bytes terminate at AttachmentStore; the returned value contains durable refs only. */ export declare class InboundImageMaterializer { private readonly options; constructor(options: InboundImageMaterializerOptions); materialize(input: Readonly): Promise; } export {}; //# sourceMappingURL=inbound-images.d.ts.map