/// <reference types="node" />
import { ReadStream } from 'fs';
import { IAPIResponse } from './api-util.js';
import { ZCConnector } from './cliq-connector.js';
export default class CliqApiService {
    private api;
    constructor(connector: ZCConnector);
    postToChannel(channelUniqueName: string, message: string): Promise<IAPIResponse>;
    postToChannel(channelUniqueName: string, file: ReadStream): Promise<IAPIResponse>;
    postToChannel(channelUniqueName: string, payload: string | ReadStream, botUniqueName: string): Promise<IAPIResponse>;
    postToChannelAsBot(channelUniqueName: string, botUniqueName: string, file: ReadStream): Promise<IAPIResponse>;
    postToChannelAsBot(channelUniqueName: string, botUniqueName: string, message: string): Promise<IAPIResponse>;
    postToBot(botUniqueName: string, message: string): Promise<IAPIResponse>;
    postToBot(botUniqueName: string, file: ReadStream): Promise<IAPIResponse>;
    postToBot(botUniqueName: string, message: string, isBroadcast: boolean): Promise<IAPIResponse>;
    postToBot(botUniqueName: string, message: string, specificUsers: Array<string>): Promise<IAPIResponse>;
    postToChat(chatId: string, message: string): Promise<IAPIResponse>;
    postToChat(chatId: string, file: ReadStream): Promise<IAPIResponse>;
    postToUser(id: string, message: string): Promise<IAPIResponse>;
    postToUser(id: string, file: ReadStream): Promise<IAPIResponse>;
}
