import { CommandChannelAction } from '../../shared';
import { CommandChannelControllerResult } from './useCommandChannelController';

export type SendActionOptions = {
    maxAttempts?: number;
    initialDelay?: number;
    connectionTimeout?: number;
    userId?: number;
};
export type SendActionResult = {
    messageId: string | null;
};
export declare const useActionSender: (controller: CommandChannelControllerResult) => (action: CommandChannelAction, options?: SendActionOptions) => Promise<SendActionResult>;
