/**
 * Phase 1 of the v0.9.0 parser: walk .hott source once and emit a token
 * stream of { template_html, preamble, inline_script }. No evaluation, no
 * output concatenation. Token boundaries preserve source offsets so later
 * stages can produce precise error messages.
 *
 * This is intentionally simpler than HotFile.processNestedContent: it only
 * has to balance `<* ... *>` at the top level. Nested `${}` inside a
 * preamble stays inside the preamble source — downstream emitters (SSR or
 * static) handle interpolation.
 */
import { Token } from "./types";
/**
 * Walk `src` and produce a flat token stream. The tokens partition the
 * input: concatenating `token.source` in order reproduces `src` exactly
 * for template_html/inline_script; preamble tokens carry the body between
 * `<*` and `*>` (the delimiters themselves are dropped from `source`).
 */
export declare function tokenize(src: string): Token[];
//# sourceMappingURL=tokenize.d.ts.map