UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

20 lines • 755 B
import type { SlackAccessor } from '../../accessor/slack.ts'; export interface SlackChannel { id: string; name?: string; user?: string; is_archived?: boolean; created?: number; [key: string]: unknown; } export interface ListChannelsOptions { types?: string; limit?: number; stopAt?: number | undefined; } export declare function listChannelsStream(accessor: SlackAccessor, options?: ListChannelsOptions): AsyncIterableIterator<SlackChannel[]>; export declare function listChannels(accessor: SlackAccessor, options?: ListChannelsOptions): Promise<SlackChannel[]>; export declare function listDms(accessor: SlackAccessor, options?: { limit?: number; }): Promise<SlackChannel[]>; //# sourceMappingURL=channels.d.ts.map