import { Ref } from 'vue'; import { Call, CallPresentationHistoryItem, ContentRating } from '../types/call'; import { CDP_EVENT_TYPE } from '../constants/cdp.const'; export default function usePresentationHistory(): { updatePresentationHistory: (p: { eventName: (typeof CDP_EVENT_TYPE)[keyof typeof CDP_EVENT_TYPE]; payload: any; call: Ref; canvasName?: string; canvasTemplateName?: string; }) => void; markPresentationHistoryItems: (call: Ref, items: Array<{ id: string; name?: string; type?: CallPresentationHistoryItem["type"]; }>, flag: keyof Pick) => void; setMetadataItem: (call: Ref, id: string, rating: ContentRating) => void; };