import { Ref, ComputedRef } from 'vue'; import { Instance, AnnotationsUnion } from 'pspdfkit'; import { CLIENT_TYPE } from '../../../constants/cdp.const'; import { File } from '../../../../types/openapi'; interface UseAnnotationsReturnType { annotations: Ref; areAnnotationsModified: Ref; isAnnotationsInterpolating: Ref; isAnnotationsCleaning: Ref; updateAnnotations: () => Promise; cleanAnnotations: (instance: Instance, data?: Record) => Promise; interpolateAnnotations: (i: Instance, data?: Record) => Promise; getAllAnnotations: (instance: Instance) => Promise; resetAnnotationChanges: () => Promise; } export declare function useAnnotations(instance: Ref, options: { clientType: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE]; currentLinkAnnotation: Ref; currentFileId: ComputedRef; currentFilePageIndex: ComputedRef; emit: (eventType: string, ...args: any[]) => void; }): UseAnnotationsReturnType; export {};