Import
import { parse } from "@typed/router/Path";Signatures
export declare function parse<const P extends string>(input: P): ParseAsts<P>;Why
Runtime construction stays aligned with ParseAsts; unsupported trailing syntax is rejected.
Ownership and lifetime
parse parses immediately and returns fresh AST array state; it retains neither the input string nor parser cursor.