@vue-pdf-viewer/viewer
Version:
A vue-pdf-viewer component for Vue and Nuxt. Suitable for vue-pdf document.
23 lines (22 loc) • 737 B
TypeScript
import { MaybeRef, Ref, App } from 'vue';
import { LicenseProduct, LicenseType } from '@/utils/enumerators';
export declare const useLicense: (key: MaybeRef<string | undefined>, app?: App) => {
license: {
invalidatedMessage?: string | undefined;
isValidating: boolean;
isValidated: boolean;
isValidKey: boolean;
type: LicenseType;
product: LicenseProduct;
};
};
export declare function useInjectedLicense(pagesContainer: Ref<HTMLDivElement | undefined>): {
license: {
invalidatedMessage?: string | undefined;
isValidating: boolean;
isValidated: boolean;
isValidKey: boolean;
type: LicenseType;
product: LicenseProduct;
};
};