import type { ASTNode, CommandNode } from '../types/base-types';
export interface ParserInterface {
    parse(code: string): CommandNode | ASTNode;
    parseCommands?(code: string): (CommandNode | ASTNode)[];
    supports?(syntax: string): boolean;
    readonly supportedCommands?: readonly string[];
    readonly name: string;
}
export type ParserFactory = () => ParserInterface;
export declare function isParserInterface(obj: unknown): obj is ParserInterface;
//# sourceMappingURL=parser-interface.d.ts.map