import { SyntaxComponent, TextRange } from '.'; import { plugins } from '..'; import { LintConfig } from './Config'; export declare type CommandComponentNode = { data: T; parser: string; range: TextRange; }; export declare type CommandComponentData = CommandComponentNode[]; export interface CommandComponent extends plugins.SyntaxComponent { } export declare namespace CommandComponent { function create(data?: CommandComponentData, partial?: Partial): CommandComponent; } export declare function combineCommand(base: CommandComponent, override: CommandComponent): CommandComponent; export declare function componentToLintedString(com: SyntaxComponent, lint: LintConfig): string;