import { IExecuteFunctions, NodeApiError } from 'n8n-workflow'; export declare class FeishuApiError extends Error { readonly feishuCode: number; constructor(message: string, feishuCode: number); } declare const FEISHU_ERROR_MESSAGES: Record; declare const HTTP_ERROR_MESSAGES: Record; export declare function sanitizeError(context: IExecuteFunctions, error: any, appSecret: string, accessToken: string): NodeApiError; export { FEISHU_ERROR_MESSAGES, HTTP_ERROR_MESSAGES }; //# sourceMappingURL=error.d.ts.map