{
  "id": "@typed/router/Parser#Parser.ManyInternal",
  "canonicalId": "@typed/router/Parser#Parser.ManyInternal",
  "symbol": {
    "id": "@typed/router/Parser#Parser.ManyInternal",
    "packageName": "@typed/router",
    "moduleName": "Parser",
    "exportName": "Parser.ManyInternal",
    "kind": "type",
    "signatures": [
      "type ManyInternal<P extends Any, Input extends string, Acc extends ReadonlyArray<unknown> = readonly [\n]> = Apply<P, Input> extends infer R ? [\n    R\n] extends [\n    never\n] ? readonly [\n    Acc,\n    Input\n] : R extends readonly [\n    infer Value,\n    infer Rest extends string\n] ? IsNoProgress<Input, Rest> extends true ? never : ManyInternal<P, Rest, readonly [\n    ...Acc,\n    Value\n]> : never : never;"
    ],
    "summary": "Recursively repeats a Parser while it succeeds and consumes input.",
    "sections": {
      "Why": "The no-progress check prevents non-terminating type instantiation for parsers that retain input.",
      "Ownership and lifetime": "`ManyInternal` accumulates values and remaining input only in compiler state. The no-progress\nbranch terminates type evaluation without creating a runtime loop."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/router/src/Parser.ts",
      "line": 678
    },
    "since": "1.0.0",
    "category": "Parser repetition"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router/Parser#Parser.ManyInternal",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "Parser",
    "consumerSpecifier": "@typed/router/Parser",
    "exportName": "Parser",
    "qualifiedName": "Parser.ManyInternal",
    "declarationKey": "declaration:8bfa053d53c56784e74ce098",
    "family": "type-alias",
    "signatures": [
      "type ManyInternal<P extends Any, Input extends string, Acc extends ReadonlyArray<unknown> = readonly [\n]> = Apply<P, Input> extends infer R ? [\n    R\n] extends [\n    never\n] ? readonly [\n    Acc,\n    Input\n] : R extends readonly [\n    infer Value,\n    infer Rest extends string\n] ? IsNoProgress<Input, Rest> extends true ? never : ManyInternal<P, Rest, readonly [\n    ...Acc,\n    Value\n]> : never : never;"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/Parser.ts",
        "start": {
          "line": 678,
          "column": 3
        },
        "end": {
          "line": 691,
          "column": 15
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "parentId": "@typed/router/Parser#Parser",
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:8bfa053d53c56784e74ce098",
    "name": "ManyInternal",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "type ManyInternal<P extends Any, Input extends string, Acc extends ReadonlyArray<unknown> = readonly [\n]> = Apply<P, Input> extends infer R ? [\n    R\n] extends [\n    never\n] ? readonly [\n    Acc,\n    Input\n] : R extends readonly [\n    infer Value,\n    infer Rest extends string\n] ? IsNoProgress<Input, Rest> extends true ? never : ManyInternal<P, Rest, readonly [\n    ...Acc,\n    Value\n]> : never : never;"
        ],
        "typeParameters": [
          "P extends Any",
          "Input extends string",
          "Acc extends ReadonlyArray<unknown> = readonly []"
        ],
        "sourceSpans": [
          {
            "file": "packages/router/src/Parser.ts",
            "start": {
              "line": 678,
              "column": 3
            },
            "end": {
              "line": 691,
              "column": 15
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "type ManyInternal<P extends Any, Input extends string, Acc extends ReadonlyArray<unknown> = readonly [\n]> = Apply<P, Input> extends infer R ? [\n    R\n] extends [\n    never\n] ? readonly [\n    Acc,\n    Input\n] : R extends readonly [\n    infer Value,\n    infer Rest extends string\n] ? IsNoProgress<Input, Rest> extends true ? never : ManyInternal<P, Rest, readonly [\n    ...Acc,\n    Value\n]> : never : never;"
    ],
    "typeParameters": [
      "P extends Any",
      "Input extends string",
      "Acc extends ReadonlyArray<unknown> = readonly []"
    ],
    "summary": "Recursively repeats a Parser while it succeeds and consumes input.",
    "sections": {
      "Why": "The no-progress check prevents non-terminating type instantiation for parsers that retain input.",
      "Ownership and lifetime": "`ManyInternal` accumulates values and remaining input only in compiler state. The no-progress\nbranch terminates type evaluation without creating a runtime loop."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/router/src/Parser.ts",
        "start": {
          "line": 678,
          "column": 3
        },
        "end": {
          "line": 691,
          "column": 15
        }
      }
    ],
    "since": "1.0.0",
    "category": "Parser repetition"
  }
}
