import type { Envelope, Options, PluginInterface, Response, Theme } from './types';
import { AbstractPlugin } from './plugin';
export default class Flasher extends AbstractPlugin {
    private defaultPlugin;
    private plugins;
    private themes;
    private loadedAssets;
    render(response: Partial<Response>): Promise<void>;
    renderEnvelopes(envelopes: Envelope[]): void;
    renderOptions(options: Options): void;
    addPlugin(name: string, plugin: PluginInterface): void;
    addTheme(name: string, theme: Theme): void;
    use(name: string): PluginInterface;
    create(name: string): PluginInterface;
    private resolveResponse;
    private resolveOptions;
    private resolveFunction;
    private resolvePlugin;
    private resolvePluginAlias;
    private addAssets;
    private loadAsset;
    private addThemeStyles;
}
