import { type CommerceApiResponse } from '../../commerce/api-core.js'; /** Remote 쇼핑몰 도구 공통 응답 조립. 오류에는 원문 error_code·HTTP 상태·endpoint 를 함께 남긴다 */ export declare function textResult(payload: Record): { content: { type: "text"; text: string; }[]; }; export declare function errorResult(payload: Record): { content: { type: "text"; text: string; }[]; isError: boolean; }; export declare function errorResponse(result: CommerceApiResponse, fallbackMessage: string, extra?: Record): { content: { type: "text"; text: string; }[]; isError: boolean; }; export declare function successResponse(data: unknown): { content: { type: "text"; text: string; }[]; }; export declare function buildBody(entries: Record): Record; export declare function isRecord(value: unknown): value is Record; export declare function str(value: unknown): string; //# sourceMappingURL=respond.d.ts.map