import type { ChannelId } from '../types/session.js'; import type { ChannelPolicy } from './types.js'; export type ChannelPolicyChange = 'strip-markdown' | 'strip-emojis' | 'truncate' | 'custom'; export interface ChannelPolicyResult { text: string; changes: ChannelPolicyChange[]; beforeLen: number; afterLen: number; } export declare function resolveChannelPolicy(channelId: ChannelId, policies?: readonly ChannelPolicy[]): ChannelPolicy; export declare function applyChannelPolicy(text: string, policy: ChannelPolicy): ChannelPolicyResult;