/**
 * @module chevrotain-parser/port-parser
 *
 * Parser for @input/@output/@step port declarations using Chevrotain.
 */
export interface PortParseResult {
    type: 'input' | 'output' | 'step';
    name: string;
    defaultValue?: string;
    isOptional?: boolean;
    scope?: string;
    order?: number;
    placement?: 'TOP' | 'BOTTOM';
    dataType?: string;
    mergeStrategy?: string;
    hidden?: boolean;
    description?: string;
    customMetadata?: Record<string, string | boolean | number>;
}
/**
 * Parse a port line (@input/@output/@step) and return structured result.
 * Returns null if the line is not a port declaration.
 */
export declare function parsePortLine(input: string, warnings: string[]): PortParseResult | null;
/**
 * Parse all port lines from a JSDoc block.
 * Extracts lines starting with @input, @output, or @step.
 */
export declare function parsePortsFromJSDoc(jsdocBlock: string, warnings?: string[]): PortParseResult[];
/**
 * Check if a line is a valid port line.
 */
export declare function isValidPortLine(line: string): boolean;
/**
 * Get serialized grammar for documentation/diagram generation.
 */
export declare function getPortGrammar(): import("chevrotain").ISerializedGast[];
//# sourceMappingURL=port-parser.d.ts.map