import type { ParseComment } from '../types'; import type { Comment, SourceLocation } from '@babel/types'; import type { SFCParseResult } from '@vue/compiler-sfc'; import { babelParse } from '@vue/compiler-sfc'; export declare const parseSFC: (code: string) => SFCParseResult; export declare const parseScriptAST: (code?: string) => ReturnType; export declare const getLocContent: (loc: SourceLocation) => string; export declare const parseComment: (commentNode?: Comment) => ParseComment; export declare const parseComments: (comments?: Comment[]) => ParseComment;