UNPKG

@vue-pdf-viewer/viewer

Version:

The PDF Viewer component for Vue 3 and Nuxt

21 lines (20 loc) 639 B
import { MaybeRef, Ref } from 'vue'; import { LicenseType } from '@/utils/enumerators'; export declare const useLicense: (key: MaybeRef<string | undefined>) => { license: { invalidatedMessage?: string | undefined; isValidating: boolean; isValidated: boolean; isValidKey: boolean; type: LicenseType; }; }; export declare function useInjectedLicense(pagesContainer: Ref<HTMLDivElement | undefined>): { license: { invalidatedMessage?: string | undefined; isValidating: boolean; isValidated: boolean; isValidKey: boolean; type: LicenseType; }; };