import type { AttachmentStore, ImageAttachmentRef, RequestImageAttachment } from "@deepseek-ai/dsh-attachment"; export interface ImageAttachmentAccess { readonly readonlyPath: string; } export interface CompatibleLlmNamespace { readonly CallId?: (id: string) => unknown; readonly ToolCallId?: (id: string) => unknown; readonly OFFLOADED_IMAGE_TEXT?: string; readonly offloadedImageText?: (ref: ImageAttachmentRef, access?: ImageAttachmentAccess) => string; readonly resolveImageAttachmentAccess?: (attachments: AttachmentStore, mapHostPath: (hostPath: string) => string | undefined, ref: ImageAttachmentRef) => ImageAttachmentAccess | undefined; readonly requestImageHandleText: (first: ImageAttachmentRef | RequestImageAttachment, second?: Pick, access?: ImageAttachmentAccess) => string; } export interface DshCompatibility { readonly generation: "rc2Contract" | "alpha1Contract"; createToolCallId(id: string): unknown; imageHandleText(ref: ImageAttachmentRef, version: RequestImageAttachment, access?: ImageAttachmentAccess): string; offloadedImagePlaceholder(ref: ImageAttachmentRef, access?: ImageAttachmentAccess): string; supportsUsageTotal(): boolean; resolveImageAttachmentAccess(attachments: AttachmentStore, mapHostPath: (hostPath: string) => string | undefined, ref: ImageAttachmentRef): ImageAttachmentAccess | undefined; } export declare function createDshCompatibility(runtime: CompatibleLlmNamespace): DshCompatibility; export declare const DSH_CONTRACT_GENERATION: "rc2Contract" | "alpha1Contract"; export declare const createToolCallId: (id: string) => unknown; export declare const imageHandleText: (ref: ImageAttachmentRef, version: RequestImageAttachment, access?: ImageAttachmentAccess) => string; export declare const offloadedImagePlaceholder: (ref: ImageAttachmentRef, access?: ImageAttachmentAccess) => string; export declare const supportsUsageTotal: () => boolean; export declare const resolveImageAttachmentAccess: (attachments: AttachmentStore, mapHostPath: (hostPath: string) => string | undefined, ref: ImageAttachmentRef) => ImageAttachmentAccess | undefined; //# sourceMappingURL=dsh-compat.d.ts.map