import type { AttachmentArtifactWorkProductMetadata, IssueWorkProduct } from "./types/work-product.js"; /** * Shared classification for bridging attachment-backed Markdown work products * into the issue document review experience. Server materialization and UI * presentation must agree on eligibility, so both sides use these helpers. */ export declare const MARKDOWN_ATTACHMENT_CONTENT_TYPES: readonly ["text/markdown", "text/x-markdown", "application/markdown", "application/x-markdown"]; /** * Maximum attachment size eligible for review-document materialization. * Matches the issue-document body limit: a UTF-8 payload of at most this many * bytes always fits the 524288-character body cap. */ export declare const MARKDOWN_REVIEW_DOCUMENT_MAX_BYTES: number; export declare const ARTIFACT_REVIEW_DOCUMENT_KEY_PREFIX = "artifact-review-"; export declare function isMarkdownAttachmentContent(input: { contentType: string | null | undefined; originalFilename?: string | null; }): boolean; export type AttachmentArtifactWorkProductLike = Pick; export declare function getAttachmentArtifactWorkProductMetadata(workProduct: AttachmentArtifactWorkProductLike): AttachmentArtifactWorkProductMetadata | null; export declare function getMarkdownWorkProductAttachmentMetadata(workProduct: AttachmentArtifactWorkProductLike): AttachmentArtifactWorkProductMetadata | null; export declare function isMarkdownArtifactWorkProduct(workProduct: AttachmentArtifactWorkProductLike): boolean; export declare function artifactReviewDocumentKey(workProductId: string): string; export declare function isArtifactReviewDocumentKey(key: string): boolean; export declare function workProductIdFromArtifactReviewDocumentKey(key: string): string | null; //# sourceMappingURL=markdown-work-products.d.ts.map