import type { ChannelSecurityContext } from '@xopcai/xopc/channels/plugin-types.js'; import type { ResolvedFeishuAccount } from '../../state/accounts.js'; import type { FeishuInboundWork } from './inbound-pipeline.js'; export interface FeishuMessageIngressOptions { account: ResolvedFeishuAccount; abortSignal: AbortSignal; enqueueInbound: (work: FeishuInboundWork) => Promise; inboundDebounceDefaultMs: number; security: { checkAccess(ctx: ChannelSecurityContext): { allowed: boolean; reason?: string; } | undefined; }; } export declare function feishuInboundScope(account: ResolvedFeishuAccount): string; export declare function createFeishuMessageIngress(options: FeishuMessageIngressOptions): { start(): void; accept(event: unknown): void; settled(): Promise; };