# slaInfo

**Kind:** Function

**Source:** [`atloria-monorepo/apps/web/src/app/app/desk/components/deskTypes.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web/src/app/app/desk/components/deskTypes.ts#L211)

SLA countdown chip. Live-ticks: pass a `now` timestamp refreshed on an interval.
Quiet gray 'SLA 22m' → amber warn → red 'SLA -4m' breach.

## Signature

```ts
function slaInfo(t: Pick<DeskThread, 'slaDueAt' | 'slaState' | 'status' | 'firstAgentReplyAt' | 'snoozedUntil'>, now: number): { label: string; tone: 'ok' | 'warn' | 'breach' } | null
```

## Parameters

| Name | Type |
|---|---|
| `t` | `Pick<DeskThread, 'slaDueAt' | 'slaState' | 'status' | 'firstAgentReplyAt' | 'snoozedUntil'>` |
| `now` | `number` |

**Returns:** `{ label: string; tone: 'ok' | 'warn' | 'breach' } | null`
