openclaw/extensions/line/runtime-api.ts
2026-03-21 00:50:01 +08:00

45 lines
1.1 KiB
TypeScript

// Private runtime barrel for the bundled LINE extension.
// Keep this barrel thin and aligned with the local extension surface.
// Do not re-export ../../src/plugin-sdk/line here: that public barrel also
// re-exports setup-api, which creates a cycle for local line imports.
export type {
ChannelAccountSnapshot,
ChannelGatewayContext,
ChannelStatusIssue,
ChannelPlugin,
OpenClawConfig,
ReplyPayload,
OpenClawPluginApi,
PluginRuntime,
LineChannelData,
LineConfig,
ResolvedLineAccount,
CardAction,
ListItem,
ChannelSetupDmPolicy,
ChannelSetupWizard,
} from "../../src/plugin-sdk/line-core.js";
export {
DEFAULT_ACCOUNT_ID,
buildChannelConfigSchema,
buildComputedAccountStatusSnapshot,
buildTokenChannelStatusSummary,
clearAccountEntryFields,
createActionCard,
createImageCard,
createInfoCard,
createListCard,
createReceiptCard,
formatDocsLink,
LineConfigSchema,
listLineAccountIds,
normalizeAccountId,
processLineMessage,
resolveDefaultLineAccountId,
resolveLineAccount,
resolveExactLineGroupConfigKey,
setSetupChannelEnabled,
splitSetupEntries,
} from "../../src/plugin-sdk/line-core.js";