import { AnnotationType } from './AnnotationType'; import { IDStr } from "../util/Strings"; interface IReferencable { readonly id: IDStr; readonly annotationType: AnnotationType; } export declare class Refs { static createRef(referencable: IReferencable): IRef; static create(id: string, type: RefType): Ref; static format(ref: IRef): string; static createFromAnnotationType(id: string, type: AnnotationType): string; static parse(value: string): IRef; static toRefType(type: AnnotationType): "text-highlight" | "area-highlight" | "flashcard" | "comment"; } export interface IRef { readonly type: RefType; readonly value: string; } export declare type RefType = 'page' | 'comment' | 'pagemark' | 'note' | 'question' | 'flashcard' | 'text-highlight' | 'area-highlight'; export declare type Ref = string; export {};