import { r as MarkdownFactsDocument } from "./markdown-facts-CEACwik1.mjs"; import { a as MarkdownAnnotationRule, d as MarkdownReadingPlugin, l as MarkdownReadingDocument, n as MarkdownAnnotationConfidence, t as MarkdownAnnotation } from "./markdown-reading-CsLbxubT.mjs"; //#region src/openspec-annotations.d.ts type OpenSpecSemanticKind = 'document-title' | 'purpose-section' | 'requirements-section' | 'requirement' | 'scenario' | 'scenario-step' | 'keyword'; type OpenSpecAnnotationConfidence = MarkdownAnnotationConfidence; type OpenSpecScenarioStepKeyword = 'GIVEN' | 'WHEN' | 'THEN' | 'AND' | 'BUT'; type OpenSpecRequirementKeyword = 'SHALL' | 'MUST' | 'SHOULD' | 'MAY'; type OpenSpecKeyword = OpenSpecScenarioStepKeyword | OpenSpecRequirementKeyword; type OpenSpecKeywordRole = 'scenario-step' | 'requirement-modal'; interface OpenSpecAnnotationMetadata { title?: string; keyword?: OpenSpecKeyword; keywordText?: string; keywordRole?: OpenSpecKeywordRole; contentMarkdown?: string; rawMarkdown?: string; } type OpenSpecAnnotation = MarkdownAnnotation; interface AnnotatedOpenSpecDocument extends MarkdownReadingDocument { annotations: OpenSpecAnnotation[]; } declare const openSpecAnnotationRules: readonly MarkdownAnnotationRule[]; declare const builtinOpenSpecReadingPlugin: MarkdownReadingPlugin; declare function annotateOpenSpecMarkdown(sourceMarkdown: string, plugins?: readonly MarkdownReadingPlugin[]): AnnotatedOpenSpecDocument; declare function annotateOpenSpecFacts(document: MarkdownFactsDocument, plugins?: readonly MarkdownReadingPlugin[]): AnnotatedOpenSpecDocument; declare function getOpenSpecAnnotationsForFact(document: AnnotatedOpenSpecDocument, factId: string): OpenSpecAnnotation[]; declare function getOpenSpecAnnotation(document: AnnotatedOpenSpecDocument, factId: string, kind: OpenSpecSemanticKind): OpenSpecAnnotation | undefined; //#endregion export { OpenSpecKeyword as a, OpenSpecScenarioStepKeyword as c, annotateOpenSpecMarkdown as d, builtinOpenSpecReadingPlugin as f, openSpecAnnotationRules as h, OpenSpecAnnotationMetadata as i, OpenSpecSemanticKind as l, getOpenSpecAnnotationsForFact as m, OpenSpecAnnotation as n, OpenSpecKeywordRole as o, getOpenSpecAnnotation as p, OpenSpecAnnotationConfidence as r, OpenSpecRequirementKeyword as s, AnnotatedOpenSpecDocument as t, annotateOpenSpecFacts as u };