import { type Ref } from 'vue'; import { LevelColor } from '../common/constants'; import type { ILogItem, IPrivateLogItem } from '../@types'; export default function useLog(data: Ref, dyScrollerRef?: Ref): { firstLogItem: Ref; logItemWidth: Ref; timeWidth: import("vue").ComputedRef; expandedGroupIndex: Ref; lineNoWidth: import("vue").ComputedRef; toggleFoldStatus: (item: IPrivateLogItem) => void; filterXSS: (log: string) => string; parseLogData: (item?: ILogItem, searchValue?: string) => string; getLogStyle: (item?: ILogItem) => { color: LevelColor | undefined; } | undefined; scrollToBottom: () => void; scrollToTop: () => void; resize: () => void; scrollToItem: (index: number) => void; scroll: (e: Event) => void; update: () => void; };