# Core

`interface` in `http` · v0.1.0-next.0

<https://docs.seedcord.org/packages/http/0.1.0-next.0/interfaces/core>

Main interface for Seedcord core functionality on the HTTP transport.

This interface can be augmented via declaration merging to add type-safe plugin definitions when using `this.core` in handlers.

```ts
interface Core extends CoreBase, SeedcordInstance
```

## Examples

```ts
declare module '@seedcord/http' {
  interface Core {
    db: Mongo;
  }
}
```

## Properties

### config

```ts
readonly config: Config
```

### rest

```ts
readonly rest: REST
```

Workerd-compatible Discord REST client.
