# ConfirmableClassicOptions

`interface` in `seedcord` · v0.11.0

<https://docs.seedcord.org/packages/seedcord/0.11.0/interfaces/confirmable-classic-options>

Configuration for Confirmable when using classic message component rows.

```ts
interface ConfirmableClassicOptions<
    TComponentType extends MessageComponentType = ComponentType.Button
> extends ConfirmableSharedOptions<TComponentType>
```

## Properties

### decision

```ts
decision: ConfirmableDecision<TComponentType>;
```

Strategy for deciding if the user confirmed or cancelled. If omitted, implementation defaults are not specified here (but handled in logic).

### defer

```ts
defer: boolean;
```

Whether to defer the interaction automatically. 

### ephemeral

```ts
ephemeral: boolean;
```

whether the response should be ephemeral. 

### mode

```ts
mode: "classic";
```

### onResolved

```ts
onResolved: (r: ConfirmableResolution<TComponentType>) =>
    Promisable<void>;
```

Callback invoked after the decision is resolved and UI is cleared/replaced. This runs before the decorated method (if confirmed).

### outcomeUi

```ts
outcomeUi: ConfirmableOutcomeUiClassic;
```

Outcome UI factories applied once the decision is resolved.

### prompt

```ts
prompt: ConfirmableFactory<BuilderComponent<"embed"> | string>;
```

Prompt content or embed factory shown to the user.

### rows

```ts
rows: ConfirmableFactory<NonEmptyTuple<RowLike>>;
```

Action row factory producing confirm and cancel components.

### timeoutMs

```ts
timeoutMs: number;
```

Timeout in milliseconds before the prompt is considered timed out.
