{
  "id": "@typed/fx#RefHashMap.mapValues",
  "canonicalId": "@typed/fx/RefHashMap#mapValues",
  "symbol": {
    "id": "@typed/fx#RefHashMap.mapValues",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "RefHashMap.mapValues",
    "kind": "constant",
    "signatures": [
      "export declare const mapValues: {\n    <K, V, B>(f: (value: V, key: K) => B): <E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;\n    <K, V, E, R, B>(ref: RefHashMap<K, V, E, R>, f: (value: V, key: K) => B): RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;\n};"
    ],
    "summary": "Map values to a different type.",
    "sections": {
      "Why": "Projects hash map state with map values for both current reads and future pushes, avoiding a\nsecond mutable cache of the derived value.",
      "Ownership and lifetime": "The map values view retains no independent state. An Effect read samples the source once; Fx\nobservation follows later pushes and its observing Scope owns subscription cleanup."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefHashMap.ts",
      "line": 516
    },
    "since": "1.18.0",
    "category": "Derived queries"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#RefHashMap.mapValues",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "RefHashMap",
    "qualifiedName": "RefHashMap.mapValues",
    "declarationKey": "declaration:3d00bec9172de5c22a849341",
    "family": "variable",
    "signatures": [
      "export declare const mapValues: {\n    <K, V, B>(f: (value: V, key: K) => B): <E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;\n    <K, V, E, R, B>(ref: RefHashMap<K, V, E, R>, f: (value: V, key: K) => B): RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 516,
          "column": 14
        },
        "end": {
          "line": 532,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 517,
          "column": 3
        },
        "end": {
          "line": 519,
          "column": 94
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 520,
          "column": 3
        },
        "end": {
          "line": 523,
          "column": 55
        }
      }
    ],
    "aliases": [
      "@typed/fx/RefHashMap#mapValues"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#RefHashMap",
    "static": false,
    "importedFrom": "declaration:3d00bec9172de5c22a849341"
  },
  "declaration": {
    "declarationKey": "declaration:3d00bec9172de5c22a849341",
    "name": "mapValues",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const mapValues: {\n    <K, V, B>(f: (value: V, key: K) => B): <E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;\n    <K, V, E, R, B>(ref: RefHashMap<K, V, E, R>, f: (value: V, key: K) => B): RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefHashMap.ts",
            "start": {
              "line": 516,
              "column": 14
            },
            "end": {
              "line": 532,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<K, V, B>(f: (value: V, key: K) => B): <E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;",
          "<K, V, E, R, B>(ref: RefHashMap<K, V, E, R>, f: (value: V, key: K) => B): RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;"
        ],
        "typeParameters": [
          "K",
          "V",
          "B",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefHashMap.ts",
            "start": {
              "line": 517,
              "column": 3
            },
            "end": {
              "line": 519,
              "column": 94
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefHashMap.ts",
            "start": {
              "line": 520,
              "column": 3
            },
            "end": {
              "line": 523,
              "column": 55
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const mapValues: {\n    <K, V, B>(f: (value: V, key: K) => B): <E, R>(ref: RefHashMap<K, V, E, R>) => RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;\n    <K, V, E, R, B>(ref: RefHashMap<K, V, E, R>, f: (value: V, key: K) => B): RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;\n};"
    ],
    "typeParameters": [
      "K",
      "V",
      "B",
      "E",
      "R"
    ],
    "summary": "Map values to a different type.",
    "sections": {
      "Why": "Projects hash map state with map values for both current reads and future pushes, avoiding a\nsecond mutable cache of the derived value.",
      "Ownership and lifetime": "The map values view retains no independent state. An Effect read samples the source once; Fx\nobservation follows later pushes and its observing Scope owns subscription cleanup."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 516,
          "column": 14
        },
        "end": {
          "line": 532,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 517,
          "column": 3
        },
        "end": {
          "line": 519,
          "column": 94
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 520,
          "column": 3
        },
        "end": {
          "line": 523,
          "column": 55
        }
      }
    ],
    "since": "1.18.0",
    "category": "Derived queries"
  }
}
