export interface NativePortableAcceptanceInput { source: string; text: string; } export interface NativePortableAcceptanceCriterion extends NativePortableAcceptanceInput { id: string; } export interface NativePortableSpecAcceptanceInput { capability: string; source: string; markdown: string; } export declare class NativeAcceptanceInputError extends Error { readonly source: string; constructor(source: string, message: string); } /** * Build the confirmed acceptance list without deriving identity from content. * * Markdown 解析负责确定条目和场景的正文归属。这里不沿用内容哈希 ID; * Portable Native 的连续 ID 只映射当前已确认目标周期内的验收结果。 */ export declare function buildNativePortableAcceptance(options: { briefMarkdown: string; briefSource?: string; /** Enable references only at the versioned Shape boundary; legacy callers retain their IDs. */ resolveBriefReferences?: boolean; specs?: readonly NativePortableSpecAcceptanceInput[]; /** 只核对已持久化的旧确认快照,不用于创建新 Shape。 */ legacyBriefBoundaries?: boolean; }): NativePortableAcceptanceCriterion[]; export declare function assertNativePortableAcceptanceIds(acceptance: readonly Pick[]): void; export declare function sameNativePortableAcceptance(left: readonly NativePortableAcceptanceInput[], right: readonly NativePortableAcceptanceInput[]): boolean; //# sourceMappingURL=native-portable-acceptance.d.ts.map