import type { Annotation as ScssCommentParserAnnotation, ParseResult as ScssCommentParserParseResult } from "./sass-comment-parser.js"; export type BuiltInAnnotationNames = "access" | "alias" | "author" | "content" | "deprecated" | "example" | "group" | "groupDescription" | "ignore" | "link" | "name" | "output" | "parameter" | "property" | "require" | "return" | "see" | "since" | "throw" | "todo" | "type"; export interface Annotation extends ScssCommentParserAnnotation { resolve?: (parseResult: Array) => void | Promise; } type BuiltInAnnotations = { [annotation in BuiltInAnnotationNames]: Annotation; }; type AnnotationAlias = { _: { alias: Record; }; }; export type annotationFactory = () => Annotation; interface IAnnotationsApi { list: BuiltInAnnotations & AnnotationAlias; } export default class AnnotationsApi implements IAnnotationsApi { list: BuiltInAnnotations & AnnotationAlias; constructor(); private addAnnotation; } export {};