export interface GasBushitsuSendOptions { endpoint: string; room: string; userName: string; /** * Custom fetch function. Defaults to `UrlFetchApp.fetch` when available. */ fetchFn?: (url: string, params: GasFetchRequest) => unknown; /** * Additional HTTP headers to include in the request. */ headers?: Record; /** * HTTP method to use. Defaults to `post`. */ method?: string; /** * Content type for the request payload. Defaults to `application/json`. */ contentType?: string; /** * Allows overriding the payload structure. */ payloadBuilder?: (input: GasPayloadBuilderInput) => string | Record; /** * Whether to mute HTTP exceptions. Defaults to `true`. */ muteHttpExceptions?: boolean; } export interface GasFetchRequest { method?: string; contentType?: string; headers?: Record; payload?: string; muteHttpExceptions?: boolean; } export interface GasPayloadBuilderInput { text: string; mentionTo?: string; room: string; userName: string; } export interface GasBushitsuSendOnlyClient { sendMessage: (text: string, mentionTo?: string) => unknown; } export declare const createGasBushitsuMessageSender: (options: GasBushitsuSendOptions) => GasBushitsuSendOnlyClient;