import { type MediaClient, type FileState } from '@atlaskit/media-client';
import { type MediaTraceContext } from '@atlaskit/media-common';
import { MediaViewerError } from '../../errors';
type Props = {
    mediaClient: MediaClient;
    fileState: FileState;
    collectionName?: string;
    onError: (error: MediaViewerError) => void;
    traceContext: MediaTraceContext;
    onSuccess?: () => void;
};
export declare const DocViewer: ({ mediaClient, fileState, collectionName, onError, onSuccess, traceContext, }: Props) => JSX.Element;
export default DocViewer;
