//@ts-ignore
import { PropertyDescriptor } from "@grapecity/core-ui";
import { LinkAnnotation, LinkDestinationType, LinkType } from "../AnnotationTypes";
export declare function findDestinationPageNumber(linkAnnotation: {
    dest: (object | number | null)[];
    destPageNumber?: number;
} | {
    gen: number;
    num: number;
}, viewer: any): Promise<number | null>;
export declare function findLinkPageNumber(linkAnnotation: {
    dest: (object | number | null)[];
    destPageNumber?: number;
}, viewer: any): number;
export declare function findDestinationType(linkAnnotation: LinkAnnotation): LinkDestinationType;
export declare function findLinkType(linkAnnotation: LinkAnnotation): LinkType;
export declare function setLinkAnnotationProperty(descriptor: PropertyDescriptor, value: any, linkAnnotation: LinkAnnotation, viewer: any): void;
export declare function ensureLinkAnnotationProperties(linkAnnotation: LinkAnnotation, viewer: any): void;
