import React from 'react';
import { type FileState } from '@atlaskit/media-client';
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
import { type MediaViewerError } from '../../errors';
export declare const pdfViewerClassName = "pdfViewer";
export type Props = {
    item: FileState;
    src: string;
    workerUrl?: string;
    onClose?: () => void;
    onSuccess?: () => void;
    onError?: (error: MediaViewerError) => void;
} & WithAnalyticsEventsProps;
export declare const PDFRenderer: React.ForwardRefExoticComponent<Omit<{
    item: FileState;
    src: string;
    workerUrl?: string;
    onClose?: () => void;
    onSuccess?: () => void;
    onError?: (error: MediaViewerError) => void;
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
