import { Component, ViewMount } from '@textbus/core';
import { ComponentSetup, DynamicRef, Injector, ViewFlyNode } from '@viewfly/core';
import { DomAdapter } from '@textbus/platform-browser';
export interface ViewComponentProps<T extends Component> {
    component: T;
    rootRef: DynamicRef<Element>;
}
export interface ViewflyAdapterComponents {
    [key: string]: ComponentSetup<ViewComponentProps<any>>;
}
export declare class ViewflyAdapter extends DomAdapter<ViewFlyNode, ViewFlyNode> {
    private components;
    private componentRefs;
    constructor(components: ViewflyAdapterComponents, mount: ViewMount<ViewFlyNode, Element>);
    render(rootComponent: Component, injector: Injector): void | (() => void);
    copy(): void;
}
