export interface ContextMenuPosition {
    left: string;
    top: string;
}
export declare function useContextMenu(params: any): {
    showContextMenu: import('vue').Ref<boolean, boolean>;
    contextMenuStyle: import('vue').Ref<{
        left: string;
        top: string;
    }, ContextMenuPosition | {
        left: string;
        top: string;
    }>;
    onContextMenu: (e: MouseEvent) => void;
    closeContextMenu: (e: MouseEvent) => void;
    direction: import('vue').Ref<string, string>;
};
