import type { SetupContext, Ref } from 'vue';
import type { DiffFile } from 'diff2html/lib/types';
import type { CodeReviewProps, IExpandLineNumberInfo } from '../code-review-types';
export declare function useCodeReview(props: CodeReviewProps, ctx: SetupContext, reviewContentRef: Ref<HTMLElement>, updateLineNumberMap: (expandLineNumberInfo: IExpandLineNumberInfo, newCode: string, direction: 'up' | 'down') => void, updateCheckedLine: (expandLineNumberInfo: IExpandLineNumberInfo, direction: 'up' | 'down') => void): {
    renderHtml: Ref<string, string>;
    diffFile: Ref<DiffFile[], DiffFile[]>;
    selectionSide: Ref<string, string>;
    onContentClick: (e: Event) => void;
};
