/** * 알림톡 도구 (stdio 전용). * * message-api `/alimtalk/*`(https://message.bootapi.com) 를 커머스 연동키 Basic Auth 로 부른다. 키는 커머스 도구와 * 같은 CommerceApiClient 를 공유한다 — set_commerce_credentials 한 번이면 둘 다 쓴다. * * 원격(Workers)에는 올리지 않는다. secret_key 를 원격 세션에 넘기는 경로가 되고, * 발송처럼 과금되는 쓰기를 OAuth 스코프로 정당화할 수 없기 때문이다. */ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import type { CommerceApiClient } from '../commerce/client.js'; import type { LocalImageReader } from '../admin/lib/image-source.js'; import { SendConfirmations } from './render.js'; import { type SendPolicy } from './policy.js'; /** 등록되는 도구 이름 — 회귀 테스트와 README 도구 표의 기준값 */ export declare const ALIMTALK_TOOL_NAMES: readonly ["alimtalk_status", "alimtalk_find_templates", "alimtalk_list_categories", "alimtalk_request_sender_otp", "alimtalk_register_sender", "alimtalk_list_senders", "alimtalk_get_sender", "alimtalk_release_sender", "alimtalk_update_variable_examples", "alimtalk_search_official_templates", "alimtalk_get_official_template", "alimtalk_recommend_official_templates", "alimtalk_list_templates", "alimtalk_get_template", "alimtalk_create_template", "alimtalk_update_template", "alimtalk_delete_template", "alimtalk_register_template", "alimtalk_request_inspection", "alimtalk_upload_template_image", "alimtalk_send", "alimtalk_send_test", "alimtalk_send_bulk", "alimtalk_cancel_reserved", "alimtalk_list_messages", "alimtalk_get_message", "alimtalk_get_stats", "alimtalk_list_optouts", "alimtalk_check_optouts", "alimtalk_add_optout", "alimtalk_remove_optout", "alimtalk_get_webhook", "alimtalk_update_webhook", "alimtalk_test_webhook", "alimtalk_rotate_webhook_secret", "alimtalk_list_webhook_deliveries"]; export interface AlimtalkToolOptions { /** 템플릿 이미지 업로드용 로컬 파일 판독기 — 없으면 업로드 도구가 거부한다 */ readLocalFile?: LocalImageReader; /** 테스트에서 시계를 바꾸려고 주입한다 */ confirmations?: SendConfirmations; /** 발송 정책. 생략하면 env(BOOTPAY_ALIMTALK_*)에서 읽는다 — 기본은 발송 꺼짐 */ sendPolicy?: SendPolicy; } export declare function registerAlimtalk(server: McpServer, client: CommerceApiClient, opts?: AlimtalkToolOptions): void; //# sourceMappingURL=index.d.ts.map