import type { Config } from '@xopcai/xopc/config/schema.js';
import type { ChannelSecurityContext } from '@xopcai/xopc/channels/plugin-types.js';
import type { ResolvedFeishuAccount } from '../../state/accounts.js';
import type { FeishuInboundWork } from '../reliability/inbound-pipeline.js';
export interface FeishuWebhookMonitorDeps {
    account: ResolvedFeishuAccount;
    config: Config;
    enqueueInbound: (work: FeishuInboundWork) => Promise<void>;
    inboundDebounceDefaultMs: number;
    abortSignal: AbortSignal;
    security: {
        checkAccess: (ctx: ChannelSecurityContext) => {
            allowed: boolean;
            reason?: string;
        } | undefined;
    };
}
export declare function createFeishuWebhookMonitor(deps: FeishuWebhookMonitorDeps): {
    run: () => Promise<void>;
};
