import type { Body, DefinePluginOpts, Meta, State, Uppy } from '@uppy/core'; import { UIPlugin } from '@uppy/core'; import type { ComponentChild } from 'preact'; import type { StatusBarOptions } from './StatusBarOptions.js'; declare module '@uppy/core' { interface PluginTypeRegistry { StatusBar: StatusBar; } } declare const defaultOptions: { hideUploadButton: false; hideRetryButton: false; hidePauseResumeButton: false; hideCancelButton: false; showProgressDetails: false; hideAfterFinish: true; doneButtonHandler: null; }; /** * StatusBar: renders a status bar with upload/pause/resume/cancel/retry buttons, * progress percentage and time remaining. */ export default class StatusBar extends UIPlugin, M, B> { #private; static VERSION: string; constructor(uppy: Uppy, opts?: StatusBarOptions); startUpload: () => ReturnType["upload"]>; render(state: State): ComponentChild; onMount(): void; install(): void; uninstall(): void; } export {}; //# sourceMappingURL=StatusBar.d.ts.map