/**
 * @import { Token, Word } from "@helios-lang/compiler-utils"
 */
/**
 * @param {ParseContext} ctx
 * @returns {[Word, Word]}
 */
export function parseHeader(ctx: ParseContext): [Word, Word];
/**
 * Quickly extract the script purpose header of a script source, by parsing only the minimally necessary characters.
 * Returns `null` if the script header is missing or syntactically incorrect. The first string returned is the script purpose, the second value returned is the script name.
 * @param {string} rawSrc
 * @returns {string | undefined}
 */
export function extractName(rawSrc: string): string | undefined;
import { ParseContext } from "./ParseContext.js";
import type { Word } from "@helios-lang/compiler-utils";
//# sourceMappingURL=parseHeader.d.ts.map