{
  "id": "@typed/fx#RefRecord.filterValues",
  "canonicalId": "@typed/fx/RefRecord#filterValues",
  "symbol": {
    "id": "@typed/fx#RefRecord.filterValues",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "RefRecord.filterValues",
    "kind": "constant",
    "signatures": [
      "export declare const filterValues: {\n    <K extends string, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Record.ReadonlyRecord<K, V>, E, R>;\n    <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>, predicate: (value: V, key: K) => boolean): RefSubject.Computed<Record.ReadonlyRecord<K, V>, E, R>;\n};"
    ],
    "summary": "Filter entries creating a Computed value.",
    "sections": {
      "Why": "Projects record state with filter values for both current reads and future pushes, avoiding a\nsecond mutable cache of the derived value.",
      "Ownership and lifetime": "The filter 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/RefRecord.ts",
      "line": 668
    },
    "since": "1.18.0",
    "category": "Derived queries"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#RefRecord.filterValues",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "RefRecord",
    "qualifiedName": "RefRecord.filterValues",
    "declarationKey": "declaration:25cec7e3a817c089d4cb5c04",
    "family": "variable",
    "signatures": [
      "export declare const filterValues: {\n    <K extends string, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Record.ReadonlyRecord<K, V>, E, R>;\n    <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>, predicate: (value: V, key: K) => boolean): RefSubject.Computed<Record.ReadonlyRecord<K, V>, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 668,
          "column": 14
        },
        "end": {
          "line": 683,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 669,
          "column": 3
        },
        "end": {
          "line": 671,
          "column": 99
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 672,
          "column": 3
        },
        "end": {
          "line": 675,
          "column": 61
        }
      }
    ],
    "aliases": [
      "@typed/fx/RefRecord#filterValues"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#RefRecord",
    "static": false,
    "importedFrom": "declaration:25cec7e3a817c089d4cb5c04"
  },
  "declaration": {
    "declarationKey": "declaration:25cec7e3a817c089d4cb5c04",
    "name": "filterValues",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const filterValues: {\n    <K extends string, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Record.ReadonlyRecord<K, V>, E, R>;\n    <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>, predicate: (value: V, key: K) => boolean): RefSubject.Computed<Record.ReadonlyRecord<K, V>, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefRecord.ts",
            "start": {
              "line": 668,
              "column": 14
            },
            "end": {
              "line": 683,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<K extends string, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Record.ReadonlyRecord<K, V>, E, R>;",
          "<K extends string, V, E, R>(ref: RefRecord<K, V, E, R>, predicate: (value: V, key: K) => boolean): RefSubject.Computed<Record.ReadonlyRecord<K, V>, E, R>;"
        ],
        "typeParameters": [
          "K extends string",
          "V",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefRecord.ts",
            "start": {
              "line": 669,
              "column": 3
            },
            "end": {
              "line": 671,
              "column": 99
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefRecord.ts",
            "start": {
              "line": 672,
              "column": 3
            },
            "end": {
              "line": 675,
              "column": 61
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const filterValues: {\n    <K extends string, V>(predicate: (value: V, key: K) => boolean): <E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Record.ReadonlyRecord<K, V>, E, R>;\n    <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>, predicate: (value: V, key: K) => boolean): RefSubject.Computed<Record.ReadonlyRecord<K, V>, E, R>;\n};"
    ],
    "typeParameters": [
      "K extends string",
      "V",
      "E",
      "R"
    ],
    "summary": "Filter entries creating a Computed value.",
    "sections": {
      "Why": "Projects record state with filter values for both current reads and future pushes, avoiding a\nsecond mutable cache of the derived value.",
      "Ownership and lifetime": "The filter 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/RefRecord.ts",
        "start": {
          "line": 668,
          "column": 14
        },
        "end": {
          "line": 683,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 669,
          "column": 3
        },
        "end": {
          "line": 671,
          "column": 99
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 672,
          "column": 3
        },
        "end": {
          "line": 675,
          "column": 61
        }
      }
    ],
    "since": "1.18.0",
    "category": "Derived queries"
  }
}
