{
  "id": "@typed/id#nanoId",
  "canonicalId": "@typed/id#nanoId",
  "symbol": {
    "id": "@typed/id#nanoId",
    "packageName": "@typed/id",
    "moduleName": ".",
    "exportName": "nanoId",
    "kind": "constant",
    "signatures": [
      "export declare const nanoId: Effect.Effect<NanoId, never, RandomValues>;"
    ],
    "summary": "Generates a 21-character NanoId from the current RandomValues service.",
    "sections": {
      "Why": "Effectful generation exposes entropy as a service so production and deterministic test sources are interchangeable.",
      "Ownership and lifetime": "The Effect acquires no persistent resource and consumes one fresh 21-byte buffer owned by the invocation."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { nanoId } from \"@typed/id/NanoId\"\nimport { RandomValues } from \"@typed/id/RandomValues\"\nimport { Effect } from \"effect\"\nconst id = Effect.provide(nanoId, RandomValues.Default)"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/id/src/NanoId.ts",
      "line": 62
    },
    "since": "1.0.0",
    "category": "ID generation"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/id#nanoId",
    "packageName": "@typed/id",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/id",
    "exportName": "nanoId",
    "qualifiedName": "nanoId",
    "declarationKey": "declaration:4cbdf1fe8093751e35b87807",
    "family": "variable",
    "signatures": [
      "export declare const nanoId: Effect.Effect<NanoId, never, RandomValues>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/id/src/NanoId.ts",
        "start": {
          "line": 62,
          "column": 14
        },
        "end": {
          "line": 65,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/id/NanoId#nanoId"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:4cbdf1fe8093751e35b87807",
    "name": "nanoId",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const nanoId: Effect.Effect<NanoId, never, RandomValues>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/id/src/NanoId.ts",
            "start": {
              "line": 62,
              "column": 14
            },
            "end": {
              "line": 65,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const nanoId: Effect.Effect<NanoId, never, RandomValues>;"
    ],
    "typeParameters": [],
    "summary": "Generates a 21-character NanoId from the current RandomValues service.",
    "sections": {
      "Why": "Effectful generation exposes entropy as a service so production and deterministic test sources are interchangeable.",
      "Ownership and lifetime": "The Effect acquires no persistent resource and consumes one fresh 21-byte buffer owned by the invocation."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { nanoId } from \"@typed/id/NanoId\"\nimport { RandomValues } from \"@typed/id/RandomValues\"\nimport { Effect } from \"effect\"\nconst id = Effect.provide(nanoId, RandomValues.Default)"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/id/src/NanoId.ts",
        "start": {
          "line": 62,
          "column": 14
        },
        "end": {
          "line": 65,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "ID generation"
  }
}
