import { BasePlugin, PluginRegistry } from '@embedpdf/core'; import { LoaderCapability, LoaderPluginConfig } from './types'; export declare class LoaderPlugin extends BasePlugin { readonly id: string; static readonly id: "loader"; private readonly loaderHandlers$; private readonly documentLoadedHandlers$; private readonly openFileRequest$; private documentLoader; private loadingOptions?; private loadedDocument?; constructor(id: string, registry: PluginRegistry); protected buildCapability(): LoaderCapability; initialize(config: LoaderPluginConfig): Promise; postInitialize(): Promise; private loadDocument; destroy(): Promise; }