/** * Minimal Slack API client (fetch-based, zero deps): the Web API methods a * shuttle needs + Socket Mode connection open. Socket Mode means NO public * webhook / app review — the bot dials out over a WebSocket. */ export interface SlackApiOptions { /** Bot token `xoxb-…` (Web API calls). */ readonly botToken: string; /** App-level token `xapp-…` (Socket Mode). */ readonly appToken?: string; readonly fetch?: typeof fetch; readonly baseUrl?: string; } export declare class SlackApi { private readonly base; private readonly botToken; private readonly appToken; private readonly doFetch; constructor(opts: SlackApiOptions); private call; authTest(): Promise<{ user_id: string; team_id: string; }>; openConnection(): Promise<{ url: string; }>; postMessage(channel: string, text: string, opts?: { threadTs?: string; }): Promise<{ ts: string; }>; updateMessage(channel: string, ts: string, text: string): Promise<{ ts: string; }>; } //# sourceMappingURL=api.d.ts.map