# EnhancedScreenshotMetadata

**Kind:** Interface

**Source:** [`atloria-monorepo/libs/parser-core/src/interfaces/screenshot.interface.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/parser-core/src/interfaces/screenshot.interface.ts#L17)

Enhanced screenshot metadata with state machine context

## Properties

| Property | Type |
|---|---|
| `url` | `string` |
| `title` | `string` |
| `component` | `string` |
| `componentPath` | `string` |
| `stateMachines` | `string[]` |
| `stateMachineDetails` | `StateMachine[]` |
| `currentState` | `string` |
| `availableTransitions` | `string[]` |
| `modalTriggers` | `string[]` |
| `interactions` | `UIInteraction[]` |
| `approvalStates` | `string[]` |
| `terminalStates` | `string[]` |
| `metadata` | `{
    /**
     * Timestamp when screenshot was captured
     */
    capturedAt?: Date;

    /**
     * Viewport size used
     */
    viewport?: {
      width: number;
      height: number;
    };

    /**
     * Whether this is a modal screenshot
     */
    isModal?: boolean;

    /**
     * Parent page URL if this is a modal
     */
    parentUrl?: string;
  }` |
