{
  "id": "@typed/fx/RefTrie#keysWithPrefix",
  "canonicalId": "@typed/fx/RefTrie#keysWithPrefix",
  "symbol": {
    "id": "@typed/fx/RefTrie#keysWithPrefix",
    "packageName": "@typed/fx",
    "moduleName": "RefTrie",
    "exportName": "keysWithPrefix",
    "kind": "constant",
    "signatures": [
      "export declare const keysWithPrefix: {\n    (prefix: string): <V, E, R>(ref: RefTrie<V, E, R>) => RefSubject.Computed<Array<string>, E, R>;\n    <V, E, R>(ref: RefTrie<V, E, R>, prefix: string): RefSubject.Computed<Array<string>, E, R>;\n};"
    ],
    "summary": "Get all keys with a given prefix.",
    "sections": {
      "Why": "Projects trie state with keys with prefix for both current reads and future pushes, avoiding a\nsecond mutable cache of the derived value.",
      "Ownership and lifetime": "The keys with prefix view retains no independent state. An Effect read samples the source once;\nFx observation follows later pushes and its observing Scope owns subscription cleanup."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefTrie.ts",
      "line": 483
    },
    "since": "1.18.0",
    "category": "Derived queries"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/RefTrie#keysWithPrefix",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": "RefTrie",
    "consumerSpecifier": "@typed/fx/RefTrie",
    "exportName": "keysWithPrefix",
    "qualifiedName": "keysWithPrefix",
    "declarationKey": "declaration:6fa82590b176fa16f6e8359c",
    "family": "variable",
    "signatures": [
      "export declare const keysWithPrefix: {\n    (prefix: string): <V, E, R>(ref: RefTrie<V, E, R>) => RefSubject.Computed<Array<string>, E, R>;\n    <V, E, R>(ref: RefTrie<V, E, R>, prefix: string): RefSubject.Computed<Array<string>, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefTrie.ts",
        "start": {
          "line": 483,
          "column": 14
        },
        "end": {
          "line": 488,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefTrie.ts",
        "start": {
          "line": 484,
          "column": 3
        },
        "end": {
          "line": 484,
          "column": 98
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefTrie.ts",
        "start": {
          "line": 485,
          "column": 3
        },
        "end": {
          "line": 485,
          "column": 94
        }
      }
    ],
    "aliases": [
      "@typed/fx#RefTrie.keysWithPrefix"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:6fa82590b176fa16f6e8359c",
    "name": "keysWithPrefix",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const keysWithPrefix: {\n    (prefix: string): <V, E, R>(ref: RefTrie<V, E, R>) => RefSubject.Computed<Array<string>, E, R>;\n    <V, E, R>(ref: RefTrie<V, E, R>, prefix: string): RefSubject.Computed<Array<string>, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefTrie.ts",
            "start": {
              "line": 483,
              "column": 14
            },
            "end": {
              "line": 488,
              "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<string>, E, R>;",
          "<V, E, R>(ref: RefTrie<V, E, R>, prefix: string): RefSubject.Computed<Array<string>, E, R>;"
        ],
        "typeParameters": [
          "V",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefTrie.ts",
            "start": {
              "line": 484,
              "column": 3
            },
            "end": {
              "line": 484,
              "column": 98
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefTrie.ts",
            "start": {
              "line": 485,
              "column": 3
            },
            "end": {
              "line": 485,
              "column": 94
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const keysWithPrefix: {\n    (prefix: string): <V, E, R>(ref: RefTrie<V, E, R>) => RefSubject.Computed<Array<string>, E, R>;\n    <V, E, R>(ref: RefTrie<V, E, R>, prefix: string): RefSubject.Computed<Array<string>, E, R>;\n};"
    ],
    "typeParameters": [
      "V",
      "E",
      "R"
    ],
    "summary": "Get all keys with a given prefix.",
    "sections": {
      "Why": "Projects trie state with keys with prefix for both current reads and future pushes, avoiding a\nsecond mutable cache of the derived value.",
      "Ownership and lifetime": "The keys with prefix view retains no independent state. An Effect read samples the source once;\nFx observation follows later pushes and its observing Scope owns subscription cleanup."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefTrie.ts",
        "start": {
          "line": 483,
          "column": 14
        },
        "end": {
          "line": 488,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefTrie.ts",
        "start": {
          "line": 484,
          "column": 3
        },
        "end": {
          "line": 484,
          "column": 98
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefTrie.ts",
        "start": {
          "line": 485,
          "column": 3
        },
        "end": {
          "line": 485,
          "column": 94
        }
      }
    ],
    "since": "1.18.0",
    "category": "Derived queries"
  }
}
