import { MeldDirectiveNode } from './remarkMeldDirectives';
import { Text } from 'mdast';
/**
 * Splits a line of text into an array of either:
 *   - raw text nodes
 *   - meldDirective nodes
 */
export declare function parseMeldDirective(value: string, file: any): Array<MeldDirectiveNode | Text>;
/**
 * Helper that parses the `@cmd[...]` or `@import[...]` line and returns a typed node.
 */
export declare function buildMeldDirectiveNode(raw: string): MeldDirectiveNode;
