{
  "id": "@typed/fx/RefStruct#pick",
  "canonicalId": "@typed/fx/RefStruct#pick",
  "symbol": {
    "id": "@typed/fx/RefStruct#pick",
    "packageName": "@typed/fx",
    "moduleName": "RefStruct",
    "exportName": "pick",
    "kind": "constant",
    "signatures": [
      "export declare const pick: {\n    <S extends object, const Keys extends ReadonlyArray<keyof S>>(keys: Keys): <E, R>(ref: RefStruct<S, E, R>) => RefSubject.Computed<Pick<S, Keys[number]>, E, R>;\n    <S extends object, const Keys extends ReadonlyArray<keyof S>, E, R>(ref: RefStruct<S, E, R>, keys: Keys): RefSubject.Computed<Pick<S, Keys[number]>, E, R>;\n};"
    ],
    "summary": "Pick properties from the current state of a RefStruct.",
    "sections": {
      "Why": "Projects struct state with pick for both current reads and future pushes, avoiding a second\nmutable cache of the derived value.",
      "Ownership and lifetime": "The pick 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/RefStruct.ts",
      "line": 200
    },
    "since": "1.18.0",
    "category": "Derived queries"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/RefStruct#pick",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": "RefStruct",
    "consumerSpecifier": "@typed/fx/RefStruct",
    "exportName": "pick",
    "qualifiedName": "pick",
    "declarationKey": "declaration:88c4cea32b3a44067f29ea79",
    "family": "variable",
    "signatures": [
      "export declare const pick: {\n    <S extends object, const Keys extends ReadonlyArray<keyof S>>(keys: Keys): <E, R>(ref: RefStruct<S, E, R>) => RefSubject.Computed<Pick<S, Keys[number]>, E, R>;\n    <S extends object, const Keys extends ReadonlyArray<keyof S>, E, R>(ref: RefStruct<S, E, R>, keys: Keys): RefSubject.Computed<Pick<S, Keys[number]>, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefStruct.ts",
        "start": {
          "line": 200,
          "column": 14
        },
        "end": {
          "line": 215,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefStruct.ts",
        "start": {
          "line": 201,
          "column": 3
        },
        "end": {
          "line": 203,
          "column": 90
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefStruct.ts",
        "start": {
          "line": 204,
          "column": 3
        },
        "end": {
          "line": 207,
          "column": 55
        }
      }
    ],
    "aliases": [
      "@typed/fx#RefStruct.pick"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:88c4cea32b3a44067f29ea79",
    "name": "pick",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const pick: {\n    <S extends object, const Keys extends ReadonlyArray<keyof S>>(keys: Keys): <E, R>(ref: RefStruct<S, E, R>) => RefSubject.Computed<Pick<S, Keys[number]>, E, R>;\n    <S extends object, const Keys extends ReadonlyArray<keyof S>, E, R>(ref: RefStruct<S, E, R>, keys: Keys): RefSubject.Computed<Pick<S, Keys[number]>, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefStruct.ts",
            "start": {
              "line": 200,
              "column": 14
            },
            "end": {
              "line": 215,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<S extends object, const Keys extends ReadonlyArray<keyof S>>(keys: Keys): <E, R>(ref: RefStruct<S, E, R>) => RefSubject.Computed<Pick<S, Keys[number]>, E, R>;",
          "<S extends object, const Keys extends ReadonlyArray<keyof S>, E, R>(ref: RefStruct<S, E, R>, keys: Keys): RefSubject.Computed<Pick<S, Keys[number]>, E, R>;"
        ],
        "typeParameters": [
          "S extends object",
          "const Keys extends ReadonlyArray<keyof S>",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefStruct.ts",
            "start": {
              "line": 201,
              "column": 3
            },
            "end": {
              "line": 203,
              "column": 90
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefStruct.ts",
            "start": {
              "line": 204,
              "column": 3
            },
            "end": {
              "line": 207,
              "column": 55
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const pick: {\n    <S extends object, const Keys extends ReadonlyArray<keyof S>>(keys: Keys): <E, R>(ref: RefStruct<S, E, R>) => RefSubject.Computed<Pick<S, Keys[number]>, E, R>;\n    <S extends object, const Keys extends ReadonlyArray<keyof S>, E, R>(ref: RefStruct<S, E, R>, keys: Keys): RefSubject.Computed<Pick<S, Keys[number]>, E, R>;\n};"
    ],
    "typeParameters": [
      "S extends object",
      "const Keys extends ReadonlyArray<keyof S>",
      "E",
      "R"
    ],
    "summary": "Pick properties from the current state of a RefStruct.",
    "sections": {
      "Why": "Projects struct state with pick for both current reads and future pushes, avoiding a second\nmutable cache of the derived value.",
      "Ownership and lifetime": "The pick 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/RefStruct.ts",
        "start": {
          "line": 200,
          "column": 14
        },
        "end": {
          "line": 215,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefStruct.ts",
        "start": {
          "line": 201,
          "column": 3
        },
        "end": {
          "line": 203,
          "column": 90
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefStruct.ts",
        "start": {
          "line": 204,
          "column": 3
        },
        "end": {
          "line": 207,
          "column": 55
        }
      }
    ],
    "since": "1.18.0",
    "category": "Derived queries"
  }
}
