{
  "id": "@typed/fx#RefRecord.mapKeys",
  "canonicalId": "@typed/fx/RefRecord#mapKeys",
  "symbol": {
    "id": "@typed/fx#RefRecord.mapKeys",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "RefRecord.mapKeys",
    "kind": "constant",
    "signatures": [
      "export declare const mapKeys: {\n    <K extends string, K2 extends string>(f: (key: K) => K2): <V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Record.ReadonlyRecord<K2, V>, E, R>;\n    <K extends string, V, E, R, K2 extends string>(ref: RefRecord<K, V, E, R>, f: (key: K) => K2): RefSubject.Computed<Record.ReadonlyRecord<K2, V>, E, R>;\n};"
    ],
    "summary": "Map keys to different keys.",
    "sections": {
      "Why": "Projects record state with map keys for both current reads and future pushes, avoiding a second\nmutable cache of the derived value.",
      "Ownership and lifetime": "The map keys 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": 597
    },
    "since": "1.18.0",
    "category": "Derived queries"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#RefRecord.mapKeys",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "RefRecord",
    "qualifiedName": "RefRecord.mapKeys",
    "declarationKey": "declaration:c00375a95a21453785087444",
    "family": "variable",
    "signatures": [
      "export declare const mapKeys: {\n    <K extends string, K2 extends string>(f: (key: K) => K2): <V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Record.ReadonlyRecord<K2, V>, E, R>;\n    <K extends string, V, E, R, K2 extends string>(ref: RefRecord<K, V, E, R>, f: (key: K) => K2): RefSubject.Computed<Record.ReadonlyRecord<K2, V>, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 597,
          "column": 14
        },
        "end": {
          "line": 615,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 598,
          "column": 3
        },
        "end": {
          "line": 602,
          "column": 64
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 603,
          "column": 3
        },
        "end": {
          "line": 606,
          "column": 62
        }
      }
    ],
    "aliases": [
      "@typed/fx/RefRecord#mapKeys"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#RefRecord",
    "static": false,
    "importedFrom": "declaration:c00375a95a21453785087444"
  },
  "declaration": {
    "declarationKey": "declaration:c00375a95a21453785087444",
    "name": "mapKeys",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const mapKeys: {\n    <K extends string, K2 extends string>(f: (key: K) => K2): <V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Record.ReadonlyRecord<K2, V>, E, R>;\n    <K extends string, V, E, R, K2 extends string>(ref: RefRecord<K, V, E, R>, f: (key: K) => K2): RefSubject.Computed<Record.ReadonlyRecord<K2, V>, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefRecord.ts",
            "start": {
              "line": 597,
              "column": 14
            },
            "end": {
              "line": 615,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<K extends string, K2 extends string>(f: (key: K) => K2): <V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Record.ReadonlyRecord<K2, V>, E, R>;",
          "<K extends string, V, E, R, K2 extends string>(ref: RefRecord<K, V, E, R>, f: (key: K) => K2): RefSubject.Computed<Record.ReadonlyRecord<K2, V>, E, R>;"
        ],
        "typeParameters": [
          "K extends string",
          "K2 extends string",
          "V",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefRecord.ts",
            "start": {
              "line": 598,
              "column": 3
            },
            "end": {
              "line": 602,
              "column": 64
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefRecord.ts",
            "start": {
              "line": 603,
              "column": 3
            },
            "end": {
              "line": 606,
              "column": 62
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const mapKeys: {\n    <K extends string, K2 extends string>(f: (key: K) => K2): <V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<Record.ReadonlyRecord<K2, V>, E, R>;\n    <K extends string, V, E, R, K2 extends string>(ref: RefRecord<K, V, E, R>, f: (key: K) => K2): RefSubject.Computed<Record.ReadonlyRecord<K2, V>, E, R>;\n};"
    ],
    "typeParameters": [
      "K extends string",
      "K2 extends string",
      "V",
      "E",
      "R"
    ],
    "summary": "Map keys to different keys.",
    "sections": {
      "Why": "Projects record state with map keys for both current reads and future pushes, avoiding a second\nmutable cache of the derived value.",
      "Ownership and lifetime": "The map keys 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": 597,
          "column": 14
        },
        "end": {
          "line": 615,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 598,
          "column": 3
        },
        "end": {
          "line": 602,
          "column": 64
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 603,
          "column": 3
        },
        "end": {
          "line": 606,
          "column": 62
        }
      }
    ],
    "since": "1.18.0",
    "category": "Derived queries"
  }
}
