import type { Ref } from 'vue';
import type ChatBot from '../components/chat-bot.vue';
import type { ShareBusinessManager } from '../manager/business/share-business-manager';
import type { EventForwarders } from './use-ai-blueking-init';
import type { Message } from '@blueking/chat-x';
export interface UseShareHandlersParams {
    chatBotRef: Ref<InstanceType<typeof ChatBot> | undefined>;
    forwarders: EventForwarders;
    shareBusinessManager: ShareBusinessManager;
    handleError: (error: Error) => void;
}
export declare function useShareHandlers(params: UseShareHandlersParams): {
    isShareLoading: Ref<boolean, boolean>;
    handleShare: () => void;
    handleCancelShare: () => void;
    handleConfirmShare: (messages: Message[]) => Promise<void>;
};
//# sourceMappingURL=use-share-handlers.d.ts.map