/**
 * 견적 관리 컴포넌트 모듈
 */

// 클라이언트 컴포넌트
export { QuoteManagementClient } from './QuoteManagementClient';

// 컴포넌트
export { QuoteDocument } from './QuoteDocument';
export { QuoteRegistration } from './QuoteRegistration';
export { PurchaseOrderDocument } from './PurchaseOrderDocument';

// 타입
export type {
  Quote,
  QuoteItem,
  QuoteStatus,
  ProductCategory,
  QuoteFilterType,
  QuoteListParams,
  QuoteApiData,
  QuoteItemApiData,
  QuoteApiPaginatedResponse,
} from './types';

// 상수
export {
  QUOTE_STATUS_LABELS,
  QUOTE_STATUS_COLORS,
  PRODUCT_CATEGORY_LABELS,
  QUOTE_FILTER_OPTIONS,
} from './types';

// 변환 함수
export {
  transformApiToFrontend,
  transformFrontendToApi,
  transformItemApiToFrontend,
  transformQuoteToFormData,
  transformFormDataToApi,
} from './types';

// QuoteFormData 호환 타입
export type { QuoteFormData, QuoteFormItem } from './types';

// 서버 액션
export {
  getQuotes,
  getQuoteById,
  createQuote,
  updateQuote,
  deleteQuote,
  bulkDeleteQuotes,
  finalizeQuote,
  cancelFinalizeQuote,
  convertQuoteToOrder,
  getQuoteNumberPreview,
  generateQuotePdf,
  sendQuoteEmail,
  sendQuoteKakao,
  getQuotesSummary,
} from './actions';
