import * as React from 'react'; import { FieldConfig, CommonFilePath } from "../../tmpl/interface"; export interface FileViewProps { fieldConfig: FieldConfig; serverKey?: string; downloadable?: boolean; value: any; width?: number; height?: number; } interface FileViewState { urlData?: string; filePath?: CommonFilePath; playing?: boolean; } export default class FileView extends React.PureComponent { static defaultProps: { downloadable: boolean; }; state: { urlData: any; filePath: any; playing: boolean; }; loadData: () => Promise; componentDidMount(): void; componentDidUpdate(prevProps: any, prevState: any, snapshot: any): void; packFile2Show: () => any; render(): React.JSX.Element; } export {}; //# sourceMappingURL=index.d.ts.map