import type { Db } from '../storage/database.js'; import type { EventBus } from './events.js'; import type { Channel, ChannelMember } from '../types.js'; export declare class ChannelService { private readonly db; private readonly events; constructor(db: Db, events: EventBus); create(name: string, createdBy: string, description?: string): Channel; getById(id: string): Channel | null; getByName(name: string): Channel | null; list(includeArchived?: boolean): Channel[]; updateDescription(channelId: string, description: string | null): Channel; archive(channelId: string, requestedBy?: string): void; join(channelId: string, agentId: string): void; leave(channelId: string, agentId: string): void; members(channelId: string): ChannelMember[]; /** Check if an agent is a member of a channel */ isMember(channelId: string, agentId: string): boolean; /** Get all channels an agent belongs to */ agentChannels(agentId: string): Channel[]; } //# sourceMappingURL=channels.d.ts.map