import type { ComponentNode, MarkdownExtension } from '../types.js';
export interface CommentComponentOptions {
    transformComponent?: (node: ComponentNode) => ComponentNode;
}
export interface ComponentComment {
    block: boolean;
    name: string;
    attributes: Record<string, string>;
}
export declare function commentComponentsExtension(options?: CommentComponentOptions): MarkdownExtension;
export declare function parseCommentComponentBlock(context: Parameters<NonNullable<MarkdownExtension['parseBlock']>>[0], options?: CommentComponentOptions): ComponentNode | undefined;
export declare function parseComponentComment(line: string): ComponentComment | undefined;
export declare function parseAttributes(value: string): Record<string, string>;
//# sourceMappingURL=comment-components.d.ts.map