UNPKG

@discoveryjs/discovery

Version:

Frontend framework for rapid data (JSON) analysis, shareable serverless reports and dashboards

13 lines (12 loc) 398 B
import type { ViewModel } from '../main/view-model.js'; declare const _default: ((host: ViewModel) => void) & { setup: typeof setup; }; export default _default; export type UploadOptions = { accept: string | string[]; useAcceptForFilePicker: boolean; dragdrop: boolean; clipboard: boolean; }; declare function setup(options?: Partial<UploadOptions>): (host: ViewModel) => void;