import { type CompanionPluginOptions, SearchProvider } from '@uppy/companion-client'; import type { AsyncStore, Body, Meta, UnknownSearchProviderPlugin, UnknownSearchProviderPluginState, UppyFile } from '@uppy/core'; import { UIPlugin, type Uppy } from '@uppy/core'; import { SearchProviderViews } from '@uppy/provider-views'; import type { LocaleStrings } from '@uppy/utils'; import { type ComponentChild, h } from 'preact'; import locale from './locale.js'; export type UnsplashOptions = { utmSource?: string; locale?: LocaleStrings; } & CompanionPluginOptions; export default class Unsplash extends UIPlugin implements UnknownSearchProviderPlugin { static VERSION: string; icon: () => h.JSX.Element; provider: SearchProvider; view: SearchProviderViews; storage: AsyncStore; files: UppyFile[]; hostname: string; constructor(uppy: Uppy, opts: UnsplashOptions); install(): void; render(state: unknown): ComponentChild; uninstall(): void; } declare module '@uppy/core' { interface PluginTypeRegistry { Unsplash: Unsplash; } } //# sourceMappingURL=Unsplash.d.ts.map