{
  "id": "@typed/async-data#Progress",
  "canonicalId": "@typed/async-data#Progress",
  "symbol": {
    "id": "@typed/async-data#Progress",
    "packageName": "@typed/async-data",
    "moduleName": ".",
    "exportName": "Progress",
    "kind": "interface",
    "signatures": [
      "export interface Progress {\n    readonly loaded: number;\n    readonly total?: number | undefined;\n}"
    ],
    "summary": "Reports completed work and, when known, the total amount of work.",
    "sections": {
      "Why": "Progress belongs to the value so loading and refreshing states can carry the same transportable measurement.",
      "Ownership and lifetime": "This plain object acquires no resources. Its `readonly` fields are a TypeScript constraint; the runtime value is not frozen.",
      "Property: loaded": "The finite amount of work completed so far.",
      "Property: loaded: Why": "A required counter lets consumers render useful progress even when the total is unknown.",
      "Property: loaded: Ownership and lifetime": "Inherits the resource-free lifetime of its enclosing `Progress` value.",
      "Property: total": "The finite total amount of work, when the producer knows it.",
      "Property: total: Why": "Optionality distinguishes indeterminate work from a known total without inventing a sentinel value.",
      "Property: total: Ownership and lifetime": "Inherits the resource-free lifetime of its enclosing `Progress` value."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { Progress } from \"@typed/async-data\"\nconst progress: Progress = { loaded: 4, total: 10 }"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/async-data/src/index.ts",
      "line": 29
    },
    "since": "1.0.0",
    "category": "State models"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/async-data#Progress",
    "packageName": "@typed/async-data",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/async-data",
    "exportName": "Progress",
    "qualifiedName": "Progress",
    "declarationKey": "declaration:02294a5e5bf979e7be501871",
    "family": "interface",
    "signatures": [
      "export interface Progress {\n    readonly loaded: number;\n    readonly total?: number | undefined;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 29,
          "column": 1
        },
        "end": {
          "line": 52,
          "column": 2
        }
      },
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 40,
          "column": 3
        },
        "end": {
          "line": 40,
          "column": 27
        }
      },
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 51,
          "column": 3
        },
        "end": {
          "line": 51,
          "column": 39
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:02294a5e5bf979e7be501871",
    "name": "Progress",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "export interface Progress {\n    readonly loaded: number;\n    readonly total?: number | undefined;\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/async-data/src/index.ts",
            "start": {
              "line": 29,
              "column": 1
            },
            "end": {
              "line": 52,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly loaded: number;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/async-data/src/index.ts",
            "start": {
              "line": 40,
              "column": 3
            },
            "end": {
              "line": 40,
              "column": 27
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly total?: number | undefined;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/async-data/src/index.ts",
            "start": {
              "line": 51,
              "column": 3
            },
            "end": {
              "line": 51,
              "column": 39
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      }
    ],
    "signatures": [
      "export interface Progress {\n    readonly loaded: number;\n    readonly total?: number | undefined;\n}"
    ],
    "typeParameters": [],
    "summary": "Reports completed work and, when known, the total amount of work.",
    "sections": {
      "Why": "Progress belongs to the value so loading and refreshing states can carry the same transportable measurement.",
      "Ownership and lifetime": "This plain object acquires no resources. Its `readonly` fields are a TypeScript constraint; the runtime value is not frozen.",
      "Property: loaded": "The finite amount of work completed so far.",
      "Property: loaded: Why": "A required counter lets consumers render useful progress even when the total is unknown.",
      "Property: loaded: Ownership and lifetime": "Inherits the resource-free lifetime of its enclosing `Progress` value.",
      "Property: total": "The finite total amount of work, when the producer knows it.",
      "Property: total: Why": "Optionality distinguishes indeterminate work from a known total without inventing a sentinel value.",
      "Property: total: Ownership and lifetime": "Inherits the resource-free lifetime of its enclosing `Progress` value."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { Progress } from \"@typed/async-data\"\nconst progress: Progress = { loaded: 4, total: 10 }"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 29,
          "column": 1
        },
        "end": {
          "line": 52,
          "column": 2
        }
      },
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 40,
          "column": 3
        },
        "end": {
          "line": 40,
          "column": 27
        }
      },
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 51,
          "column": 3
        },
        "end": {
          "line": 51,
          "column": 39
        }
      }
    ],
    "since": "1.0.0",
    "category": "State models"
  }
}
