# types/agent.types.ts

> 13 lines of code and 2 definitions.

Tree: GovLab Stats
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/stats#file-stats-types-agent-types-ts
Source text: https://banes-lab.com/source/stats/types/agent.types.ts.txt

Listed in [types](https://banes-lab.com/api/source/stats/types.md), before [types/catalog.types.ts](https://banes-lab.com/source/stats/types/catalog.types.ts.md).

## Definitions

- `MemoryStats` (interface_declaration, line 1, exported)
- `MemoryFile` (interface_declaration, line 10, exported)

## Contained in

- [types](https://banes-lab.com/anatomy/stats/folder-stats-types.md)

## Source

```typescript
export interface MemoryStats {
    byType: Map<string, number>;
    bytes: number;
    dir: string;
    files: number;
    indexEntries: number;
    present: boolean;
}

export interface MemoryFile {
    type: string | null;
    bytes: number;
    index: number;
}
```
