/** * Feishu-adapter user-facing strings. The `language` config picks `zh` or * `en`; the Feishu adapter itself only produces a handful of messages (image * download errors, menu expiry, completion cards), so a small table suffices. * @module dsh-connect/channels/feishu/i18n */ import type { Language } from "../../i18n.js"; export interface FeishuMessages { tempDirFailed(error: string): string; imageDownloadLog(fileKey: string, detail: string): string; fileDownloadLog(fileKey: string, detail: string): string; errorDetail(detail: string): string; imageDownloadError(failed: number, detail: string): string; fileDownloadError(failed: number, detail: string): string; menuExpired: string; menuExpiredHint: string; /** Shown when the user taps a button on a card whose interaction is no longer pending. */ actionStale: string; doneHeader: string; onboardingEnter: string; /** Non-interactive host (no TTY): say what to do instead of starting a scan. */ onboardingSkipped: string; onboardingIncomplete: string; onboardingSuccess(appId: string): string; /** Onboarded, but neither store took the credentials — persist for the next boot. */ onboardingUnsaved(appId: string): string; onboardingFailed(code: string): string; onboardingLink(url: string): string; onboardingLinkExpiry(minutes: number): string; /** The settings pane started the flow (no TTY involved — a human is watching). */ onboardingStarted: string; /** The event subscription was accepted by the API — not proof it is live. */ onboardingSubscriptionApplied(appId: string): string; onboardingSubscriptionFailed(appId: string, reason: string): string; /** The channel was written as enabled with transport=websocket. */ onboardingEnabled(appId: string): string; onboardingCancelled: string; } export declare function feishuMessages(lang: Language): FeishuMessages; //# sourceMappingURL=i18n.d.ts.map