import type { Style } from 'leviar'; import type { Resolvable } from '../define/defineCmd'; import type { SceneNextTarget, VariablesOf } from '../types/config'; import type { VarResolvable } from '../types/utils'; /** * 선택지 UI 내부 간격 레이아웃 설정. * `defineInitial` 또는 커맨드의 `layout` 필드로 씬/커맨드별 지정 가능. */ export interface ChoiceLayout { /** * 선택지 버튼 간 세로 간격(px). * @default 12 */ gap?: number; /** * 버튼 내부 좌측 패딩(px). * @default 32 */ buttonPaddingLeft?: number; /** * 버튼 내부 우측 패딩(px). * @default 32 */ buttonPaddingRight?: number; /** * 버튼 내부 상단 패딩(px). * @default 12 */ buttonPaddingTop?: number; /** * 버튼 내부 하단 패딩(px). * @default 12 */ buttonPaddingBottom?: number; } /** choiceModule이 공유하는 데이터 스키마 */ export interface ChoiceSchema { /** 선택지 전체 배경(컨테이너) 스타일 */ bg?: Partial