> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Type Alias: Printer

> **Printer** = (`val`: `unknown`, `config`: [`Config`](/next/api/react/testing-library/Type_Aliases/prettyFormat.Config.md), `indentation`: `string`, `depth`: `number`, `refs`: [`Refs`](/next/api/react/testing-library/Type_Aliases/prettyFormat.Refs.md), `hasCalledToJSON?`: `boolean`) => `string`

## Parameters

| Parameter          | Type                                                                            |
| ------------------ | ------------------------------------------------------------------------------- |
| `val`              | `unknown`                                                                       |
| `config`           | [`Config`](/next/api/react/testing-library/Type_Aliases/prettyFormat.Config.md) |
| `indentation`      | `string`                                                                        |
| `depth`            | `number`                                                                        |
| `refs`             | [`Refs`](/next/api/react/testing-library/Type_Aliases/prettyFormat.Refs.md)     |
| `hasCalledToJSON?` | `boolean`                                                                       |

## Returns

`string`
