{
  "id": "@typed/fx#RefTrie.valuesWithPrefix",
  "canonicalId": "@typed/fx/RefTrie#valuesWithPrefix",
  "symbol": {
    "id": "@typed/fx#RefTrie.valuesWithPrefix",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "RefTrie.valuesWithPrefix",
    "kind": "constant",
    "signatures": [
      "export declare const valuesWithPrefix: {\n    (prefix: string): <V, E, R>(ref: RefTrie<V, E, R>) => RefSubject.Computed<Array<V>, E, R>;\n    <V, E, R>(ref: RefTrie<V, E, R>, prefix: string): RefSubject.Computed<Array<V>, E, R>;\n};"
    ],
    "summary": "Get all values with a given prefix.",
    "sections": {
      "Why": "Projects trie state with values with prefix for both current reads and future pushes, avoiding a\nsecond mutable cache of the derived value.",
      "Ownership and lifetime": "The values with prefix view retains no independent state. An Effect read samples the source\nonce; Fx observation follows later pushes and its observing Scope owns subscription cleanup."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefTrie.ts",
      "line": 506
    },
    "since": "1.18.0",
    "category": "Derived queries"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#RefTrie.valuesWithPrefix",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "RefTrie",
    "qualifiedName": "RefTrie.valuesWithPrefix",
    "declarationKey": "declaration:497e75d3dc725195a374e3b4",
    "family": "variable",
    "signatures": [
      "export declare const valuesWithPrefix: {\n    (prefix: string): <V, E, R>(ref: RefTrie<V, E, R>) => RefSubject.Computed<Array<V>, E, R>;\n    <V, E, R>(ref: RefTrie<V, E, R>, prefix: string): RefSubject.Computed<Array<V>, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefTrie.ts",
        "start": {
          "line": 506,
          "column": 14
        },
        "end": {
          "line": 511,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefTrie.ts",
        "start": {
          "line": 507,
          "column": 3
        },
        "end": {
          "line": 507,
          "column": 93
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefTrie.ts",
        "start": {
          "line": 508,
          "column": 3
        },
        "end": {
          "line": 508,
          "column": 89
        }
      }
    ],
    "aliases": [
      "@typed/fx/RefTrie#valuesWithPrefix"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#RefTrie",
    "static": false,
    "importedFrom": "declaration:497e75d3dc725195a374e3b4"
  },
  "declaration": {
    "declarationKey": "declaration:497e75d3dc725195a374e3b4",
    "name": "valuesWithPrefix",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const valuesWithPrefix: {\n    (prefix: string): <V, E, R>(ref: RefTrie<V, E, R>) => RefSubject.Computed<Array<V>, E, R>;\n    <V, E, R>(ref: RefTrie<V, E, R>, prefix: string): RefSubject.Computed<Array<V>, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefTrie.ts",
            "start": {
              "line": 506,
              "column": 14
            },
            "end": {
              "line": 511,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "(prefix: string): <V, E, R>(ref: RefTrie<V, E, R>) => RefSubject.Computed<Array<V>, E, R>;",
          "<V, E, R>(ref: RefTrie<V, E, R>, prefix: string): RefSubject.Computed<Array<V>, E, R>;"
        ],
        "typeParameters": [
          "V",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefTrie.ts",
            "start": {
              "line": 507,
              "column": 3
            },
            "end": {
              "line": 507,
              "column": 93
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefTrie.ts",
            "start": {
              "line": 508,
              "column": 3
            },
            "end": {
              "line": 508,
              "column": 89
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const valuesWithPrefix: {\n    (prefix: string): <V, E, R>(ref: RefTrie<V, E, R>) => RefSubject.Computed<Array<V>, E, R>;\n    <V, E, R>(ref: RefTrie<V, E, R>, prefix: string): RefSubject.Computed<Array<V>, E, R>;\n};"
    ],
    "typeParameters": [
      "V",
      "E",
      "R"
    ],
    "summary": "Get all values with a given prefix.",
    "sections": {
      "Why": "Projects trie state with values with prefix for both current reads and future pushes, avoiding a\nsecond mutable cache of the derived value.",
      "Ownership and lifetime": "The values with prefix view retains no independent state. An Effect read samples the source\nonce; Fx observation follows later pushes and its observing Scope owns subscription cleanup."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefTrie.ts",
        "start": {
          "line": 506,
          "column": 14
        },
        "end": {
          "line": 511,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefTrie.ts",
        "start": {
          "line": 507,
          "column": 3
        },
        "end": {
          "line": 507,
          "column": 93
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefTrie.ts",
        "start": {
          "line": 508,
          "column": 3
        },
        "end": {
          "line": 508,
          "column": 89
        }
      }
    ],
    "since": "1.18.0",
    "category": "Derived queries"
  }
}
