{
  "id": "@typed/fx#RefDateTime.subtractDuration",
  "canonicalId": "@typed/fx/RefDateTime#subtractDuration",
  "symbol": {
    "id": "@typed/fx#RefDateTime.subtractDuration",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "RefDateTime.subtractDuration",
    "kind": "constant",
    "signatures": [
      "export declare const subtractDuration: {\n    (duration: Duration.Input): <E, R>(ref: RefDateTime<E, R>) => RefSubject.Computed<DateTime.DateTime, E, R>;\n    <E, R>(ref: RefDateTime<E, R>, duration: Duration.Input): RefSubject.Computed<DateTime.DateTime, E, R>;\n};"
    ],
    "summary": "Subtract a Duration from the current state of a RefDateTime.",
    "sections": {
      "Why": "Subtract a Duration from the current state of a RefDateTime. The operation remains attached to\nthe RefSubject's versioned state boundary.",
      "Ownership and lifetime": "The subtract duration 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/RefDateTime.ts",
      "line": 244
    },
    "since": "1.18.0",
    "category": "Date arithmetic"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#RefDateTime.subtractDuration",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "RefDateTime",
    "qualifiedName": "RefDateTime.subtractDuration",
    "declarationKey": "declaration:84f9a6f8cdb9a116a8b4c4f7",
    "family": "variable",
    "signatures": [
      "export declare const subtractDuration: {\n    (duration: Duration.Input): <E, R>(ref: RefDateTime<E, R>) => RefSubject.Computed<DateTime.DateTime, E, R>;\n    <E, R>(ref: RefDateTime<E, R>, duration: Duration.Input): RefSubject.Computed<DateTime.DateTime, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefDateTime.ts",
        "start": {
          "line": 244,
          "column": 14
        },
        "end": {
          "line": 254,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefDateTime.ts",
        "start": {
          "line": 245,
          "column": 3
        },
        "end": {
          "line": 247,
          "column": 85
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefDateTime.ts",
        "start": {
          "line": 248,
          "column": 3
        },
        "end": {
          "line": 251,
          "column": 51
        }
      }
    ],
    "aliases": [
      "@typed/fx/RefDateTime#subtractDuration"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#RefDateTime",
    "static": false,
    "importedFrom": "declaration:84f9a6f8cdb9a116a8b4c4f7"
  },
  "declaration": {
    "declarationKey": "declaration:84f9a6f8cdb9a116a8b4c4f7",
    "name": "subtractDuration",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const subtractDuration: {\n    (duration: Duration.Input): <E, R>(ref: RefDateTime<E, R>) => RefSubject.Computed<DateTime.DateTime, E, R>;\n    <E, R>(ref: RefDateTime<E, R>, duration: Duration.Input): RefSubject.Computed<DateTime.DateTime, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefDateTime.ts",
            "start": {
              "line": 244,
              "column": 14
            },
            "end": {
              "line": 254,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "(duration: Duration.Input): <E, R>(ref: RefDateTime<E, R>) => RefSubject.Computed<DateTime.DateTime, E, R>;",
          "<E, R>(ref: RefDateTime<E, R>, duration: Duration.Input): RefSubject.Computed<DateTime.DateTime, E, R>;"
        ],
        "typeParameters": [
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefDateTime.ts",
            "start": {
              "line": 245,
              "column": 3
            },
            "end": {
              "line": 247,
              "column": 85
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefDateTime.ts",
            "start": {
              "line": 248,
              "column": 3
            },
            "end": {
              "line": 251,
              "column": 51
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const subtractDuration: {\n    (duration: Duration.Input): <E, R>(ref: RefDateTime<E, R>) => RefSubject.Computed<DateTime.DateTime, E, R>;\n    <E, R>(ref: RefDateTime<E, R>, duration: Duration.Input): RefSubject.Computed<DateTime.DateTime, E, R>;\n};"
    ],
    "typeParameters": [
      "E",
      "R"
    ],
    "summary": "Subtract a Duration from the current state of a RefDateTime.",
    "sections": {
      "Why": "Subtract a Duration from the current state of a RefDateTime. The operation remains attached to\nthe RefSubject's versioned state boundary.",
      "Ownership and lifetime": "The subtract duration 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/RefDateTime.ts",
        "start": {
          "line": 244,
          "column": 14
        },
        "end": {
          "line": 254,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefDateTime.ts",
        "start": {
          "line": 245,
          "column": 3
        },
        "end": {
          "line": 247,
          "column": 85
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefDateTime.ts",
        "start": {
          "line": 248,
          "column": 3
        },
        "end": {
          "line": 251,
          "column": 51
        }
      }
    ],
    "since": "1.18.0",
    "category": "Date arithmetic"
  }
}
