# KeyedLayerText

A host-defined translation key and its source text for a layer template.

This is an interface exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { KeyedLayerText } from "@mapcairn/core";
 
interface KeyedLayerText
```

## Properties

### key

```ts
readonly key: string;
```

The key the text is looked up by.

### text

```ts
readonly text: string;
```

The text, as the layer's definition wrote it.

Source: [packages/core/src/layers/template.ts:36](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/template.ts#L36)
