{
  "id": "@typed/fx/RefHashMap#filterMapValues",
  "canonicalId": "@typed/fx/RefHashMap#filterMapValues",
  "symbol": {
    "id": "@typed/fx/RefHashMap#filterMapValues",
    "packageName": "@typed/fx",
    "moduleName": "RefHashMap",
    "exportName": "filterMapValues",
    "kind": "constant",
    "signatures": [
      "export declare const filterMapValues: {\n    <K, V, B>(f: (value: V, key: K) => Option.Option<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) => Option.Option<B>): RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;\n};"
    ],
    "summary": "Filter and map values.",
    "sections": {
      "Why": "Projects hash map state with filter map values for both current reads and future pushes,\navoiding a second mutable cache of the derived value.",
      "Ownership and lifetime": "The filter map values 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/RefHashMap.ts",
      "line": 583
    },
    "since": "1.18.0",
    "category": "Derived queries"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/RefHashMap#filterMapValues",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": "RefHashMap",
    "consumerSpecifier": "@typed/fx/RefHashMap",
    "exportName": "filterMapValues",
    "qualifiedName": "filterMapValues",
    "declarationKey": "declaration:782074160654d50922ca65eb",
    "family": "variable",
    "signatures": [
      "export declare const filterMapValues: {\n    <K, V, B>(f: (value: V, key: K) => Option.Option<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) => Option.Option<B>): RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 583,
          "column": 14
        },
        "end": {
          "line": 607,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 584,
          "column": 3
        },
        "end": {
          "line": 586,
          "column": 94
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 587,
          "column": 3
        },
        "end": {
          "line": 590,
          "column": 55
        }
      }
    ],
    "aliases": [
      "@typed/fx#RefHashMap.filterMapValues"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:782074160654d50922ca65eb",
    "name": "filterMapValues",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const filterMapValues: {\n    <K, V, B>(f: (value: V, key: K) => Option.Option<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) => Option.Option<B>): RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefHashMap.ts",
            "start": {
              "line": 583,
              "column": 14
            },
            "end": {
              "line": 607,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<K, V, B>(f: (value: V, key: K) => Option.Option<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) => Option.Option<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": 584,
              "column": 3
            },
            "end": {
              "line": 586,
              "column": 94
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefHashMap.ts",
            "start": {
              "line": 587,
              "column": 3
            },
            "end": {
              "line": 590,
              "column": 55
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const filterMapValues: {\n    <K, V, B>(f: (value: V, key: K) => Option.Option<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) => Option.Option<B>): RefSubject.Computed<HashMap.HashMap<K, B>, E, R>;\n};"
    ],
    "typeParameters": [
      "K",
      "V",
      "B",
      "E",
      "R"
    ],
    "summary": "Filter and map values.",
    "sections": {
      "Why": "Projects hash map state with filter map values for both current reads and future pushes,\navoiding a second mutable cache of the derived value.",
      "Ownership and lifetime": "The filter map values 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/RefHashMap.ts",
        "start": {
          "line": 583,
          "column": 14
        },
        "end": {
          "line": 607,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 584,
          "column": 3
        },
        "end": {
          "line": 586,
          "column": 94
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 587,
          "column": 3
        },
        "end": {
          "line": 590,
          "column": 55
        }
      }
    ],
    "since": "1.18.0",
    "category": "Derived queries"
  }
}
