{
  "id": "@typed/fx/RefTrie#clear",
  "canonicalId": "@typed/fx/RefTrie#clear",
  "symbol": {
    "id": "@typed/fx/RefTrie#clear",
    "packageName": "@typed/fx",
    "moduleName": "RefTrie",
    "exportName": "clear",
    "kind": "constant",
    "signatures": [
      "export declare const clear: <V, E, R>(ref: RefTrie<V, E, R>) => Effect.Effect<Trie.Trie<V>, E, R>;"
    ],
    "summary": "Clear all entries from the Trie.",
    "sections": {
      "Why": "Applies clear to the committed trie value and publishes only the result, preserving its element\norder and equality rules.",
      "Ownership and lifetime": "Running clear performs one serialized trie transition and resolves with its committed value. It\nacquires no resource; failures and services remain those of the source ref."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefTrie.ts",
      "line": 203
    },
    "since": "1.18.0",
    "category": "State updates"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/RefTrie#clear",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": "RefTrie",
    "consumerSpecifier": "@typed/fx/RefTrie",
    "exportName": "clear",
    "qualifiedName": "clear",
    "declarationKey": "declaration:f6088405f7f35cc35d4d025b",
    "family": "variable",
    "signatures": [
      "export declare const clear: <V, E, R>(ref: RefTrie<V, E, R>) => Effect.Effect<Trie.Trie<V>, E, R>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefTrie.ts",
        "start": {
          "line": 203,
          "column": 14
        },
        "end": {
          "line": 204,
          "column": 45
        }
      }
    ],
    "aliases": [
      "@typed/fx#RefTrie.clear"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:f6088405f7f35cc35d4d025b",
    "name": "clear",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const clear: <V, E, R>(ref: RefTrie<V, E, R>) => Effect.Effect<Trie.Trie<V>, E, R>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefTrie.ts",
            "start": {
              "line": 203,
              "column": 14
            },
            "end": {
              "line": 204,
              "column": 45
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const clear: <V, E, R>(ref: RefTrie<V, E, R>) => Effect.Effect<Trie.Trie<V>, E, R>;"
    ],
    "typeParameters": [],
    "summary": "Clear all entries from the Trie.",
    "sections": {
      "Why": "Applies clear to the committed trie value and publishes only the result, preserving its element\norder and equality rules.",
      "Ownership and lifetime": "Running clear performs one serialized trie transition and resolves with its committed value. It\nacquires no resource; failures and services remain those of the source ref."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefTrie.ts",
        "start": {
          "line": 203,
          "column": 14
        },
        "end": {
          "line": 204,
          "column": 45
        }
      }
    ],
    "since": "1.18.0",
    "category": "State updates"
  }
}
