{
  "id": "@typed/fx#RefHashMap.filter",
  "canonicalId": "@typed/fx/RefHashMap#filter",
  "symbol": {
    "id": "@typed/fx#RefHashMap.filter",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "RefHashMap.filter",
    "kind": "constant",
    "signatures": [
      "export declare const filter: {\n    <K, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n    <K, V, E, R>(ref: RefHashMap<K, V, E, R>, predicate: (value: V, key: K) => boolean): Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n};"
    ],
    "summary": "Filter entries in place.",
    "sections": {
      "Why": "Applies filter to the committed HashMap through `RefSubject.update` and publishes one coherent\nreplacement; this is a mutation, not a read-only Computed projection.",
      "Ownership and lifetime": "The Effect starts when run, participates in the source ref's serialized update boundary, and\nacquires no resource. It returns the committed HashMap and retains the ref's E and R channels."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefHashMap.ts",
      "line": 310
    },
    "since": "1.18.0",
    "category": "State updates"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#RefHashMap.filter",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "RefHashMap",
    "qualifiedName": "RefHashMap.filter",
    "declarationKey": "declaration:07d259c7d896120256097d50",
    "family": "variable",
    "signatures": [
      "export declare const filter: {\n    <K, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n    <K, V, E, R>(ref: RefHashMap<K, V, E, R>, predicate: (value: V, key: K) => boolean): Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 310,
          "column": 14
        },
        "end": {
          "line": 325,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 311,
          "column": 3
        },
        "end": {
          "line": 313,
          "column": 88
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 314,
          "column": 3
        },
        "end": {
          "line": 317,
          "column": 49
        }
      }
    ],
    "aliases": [
      "@typed/fx/RefHashMap#filter"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#RefHashMap",
    "static": false,
    "importedFrom": "declaration:07d259c7d896120256097d50"
  },
  "declaration": {
    "declarationKey": "declaration:07d259c7d896120256097d50",
    "name": "filter",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const filter: {\n    <K, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n    <K, V, E, R>(ref: RefHashMap<K, V, E, R>, predicate: (value: V, key: K) => boolean): Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefHashMap.ts",
            "start": {
              "line": 310,
              "column": 14
            },
            "end": {
              "line": 325,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<K, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;",
          "<K, V, E, R>(ref: RefHashMap<K, V, E, R>, predicate: (value: V, key: K) => boolean): Effect.Effect<HashMap.HashMap<K, V>, E, R>;"
        ],
        "typeParameters": [
          "K",
          "V",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefHashMap.ts",
            "start": {
              "line": 311,
              "column": 3
            },
            "end": {
              "line": 313,
              "column": 88
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefHashMap.ts",
            "start": {
              "line": 314,
              "column": 3
            },
            "end": {
              "line": 317,
              "column": 49
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const filter: {\n    <K, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n    <K, V, E, R>(ref: RefHashMap<K, V, E, R>, predicate: (value: V, key: K) => boolean): Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n};"
    ],
    "typeParameters": [
      "K",
      "V",
      "E",
      "R"
    ],
    "summary": "Filter entries in place.",
    "sections": {
      "Why": "Applies filter to the committed HashMap through `RefSubject.update` and publishes one coherent\nreplacement; this is a mutation, not a read-only Computed projection.",
      "Ownership and lifetime": "The Effect starts when run, participates in the source ref's serialized update boundary, and\nacquires no resource. It returns the committed HashMap and retains the ref's E and R channels."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 310,
          "column": 14
        },
        "end": {
          "line": 325,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 311,
          "column": 3
        },
        "end": {
          "line": 313,
          "column": 88
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 314,
          "column": 3
        },
        "end": {
          "line": 317,
          "column": 49
        }
      }
    ],
    "since": "1.18.0",
    "category": "State updates"
  }
}
