{
  "id": "@typed/id/Uuid5#uuid5",
  "canonicalId": "@typed/id#uuid5",
  "symbol": {
    "id": "@typed/id/Uuid5#uuid5",
    "packageName": "@typed/id",
    "moduleName": "Uuid5",
    "exportName": "uuid5",
    "kind": "constant",
    "signatures": [
      "export declare const uuid5: {\n    (namespace: Uuid5Namespace): (name: string) => Effect.Effect<Uuid5, Cause.IllegalArgumentError>;\n    (name: string, namespace: Uuid5Namespace): Effect.Effect<Uuid5, Cause.IllegalArgumentError>;\n};"
    ],
    "summary": "Derives a deterministic UUID version 5 from a UTF-8 name and 16-byte namespace.",
    "sections": {
      "Why": "Determinism is exact for the same name bytes and namespace. Invalid namespace length fails in the typed channel with `IllegalArgumentError`; missing Web Crypto or a rejected SHA-1 digest is an Effect defect, not a typed error.",
      "Ownership and lifetime": "Each Effect acquires no persistent resources, reads but does not retain the namespace, and uses Web Crypto `subtle.digest` for the invocation."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { uuid5, Uuid5Namespace } from \"@typed/id/Uuid5\"\nconst id = uuid5(\"example.com\", Uuid5Namespace.DNS)"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/id/src/Uuid5.ts",
      "line": 165
    },
    "since": "1.0.0",
    "category": "ID generation"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/id/Uuid5#uuid5",
    "packageName": "@typed/id",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "Uuid5",
    "consumerSpecifier": "@typed/id/Uuid5",
    "exportName": "uuid5",
    "qualifiedName": "uuid5",
    "declarationKey": "declaration:bcca0f379fc8c9a61e05dd8f",
    "family": "variable",
    "signatures": [
      "export declare const uuid5: {\n    (namespace: Uuid5Namespace): (name: string) => Effect.Effect<Uuid5, Cause.IllegalArgumentError>;\n    (name: string, namespace: Uuid5Namespace): Effect.Effect<Uuid5, Cause.IllegalArgumentError>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/id/src/Uuid5.ts",
        "start": {
          "line": 165,
          "column": 14
        },
        "end": {
          "line": 202,
          "column": 3
        }
      },
      {
        "file": "packages/id/src/Uuid5.ts",
        "start": {
          "line": 166,
          "column": 3
        },
        "end": {
          "line": 166,
          "column": 99
        }
      },
      {
        "file": "packages/id/src/Uuid5.ts",
        "start": {
          "line": 167,
          "column": 3
        },
        "end": {
          "line": 167,
          "column": 95
        }
      }
    ],
    "aliases": [
      "@typed/id#uuid5"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:bcca0f379fc8c9a61e05dd8f",
    "name": "uuid5",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const uuid5: {\n    (namespace: Uuid5Namespace): (name: string) => Effect.Effect<Uuid5, Cause.IllegalArgumentError>;\n    (name: string, namespace: Uuid5Namespace): Effect.Effect<Uuid5, Cause.IllegalArgumentError>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/id/src/Uuid5.ts",
            "start": {
              "line": 165,
              "column": 14
            },
            "end": {
              "line": 202,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "(namespace: Uuid5Namespace): (name: string) => Effect.Effect<Uuid5, Cause.IllegalArgumentError>;",
          "(name: string, namespace: Uuid5Namespace): Effect.Effect<Uuid5, Cause.IllegalArgumentError>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/id/src/Uuid5.ts",
            "start": {
              "line": 166,
              "column": 3
            },
            "end": {
              "line": 166,
              "column": 99
            }
          },
          {
            "file": "packages/id/src/Uuid5.ts",
            "start": {
              "line": 167,
              "column": 3
            },
            "end": {
              "line": 167,
              "column": 95
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const uuid5: {\n    (namespace: Uuid5Namespace): (name: string) => Effect.Effect<Uuid5, Cause.IllegalArgumentError>;\n    (name: string, namespace: Uuid5Namespace): Effect.Effect<Uuid5, Cause.IllegalArgumentError>;\n};"
    ],
    "typeParameters": [],
    "summary": "Derives a deterministic UUID version 5 from a UTF-8 name and 16-byte namespace.",
    "sections": {
      "Why": "Determinism is exact for the same name bytes and namespace. Invalid namespace length fails in the typed channel with `IllegalArgumentError`; missing Web Crypto or a rejected SHA-1 digest is an Effect defect, not a typed error.",
      "Ownership and lifetime": "Each Effect acquires no persistent resources, reads but does not retain the namespace, and uses Web Crypto `subtle.digest` for the invocation."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { uuid5, Uuid5Namespace } from \"@typed/id/Uuid5\"\nconst id = uuid5(\"example.com\", Uuid5Namespace.DNS)"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/id/src/Uuid5.ts",
        "start": {
          "line": 165,
          "column": 14
        },
        "end": {
          "line": 202,
          "column": 3
        }
      },
      {
        "file": "packages/id/src/Uuid5.ts",
        "start": {
          "line": 166,
          "column": 3
        },
        "end": {
          "line": 166,
          "column": 99
        }
      },
      {
        "file": "packages/id/src/Uuid5.ts",
        "start": {
          "line": 167,
          "column": 3
        },
        "end": {
          "line": 167,
          "column": 95
        }
      }
    ],
    "since": "1.0.0",
    "category": "ID generation"
  }
}
