import { Annotation } from "./annotation";
import { Signal } from "core/signaling";
export declare var PolyAnnotationView: {
    new (options?: {}): {
        connect_signals(): any;
        render(ctx: any): any;
        _get_size(): Error;
        get_size(): any;
        initialize(options: any): boolean;
        request_render(): any;
        set_data(source: any): [number[][], number[][]] | undefined;
        map_to_screen(x: any, y: any): any;
        remove(): any;
        layout(): void;
        renderTo(element: any, replace?: boolean): void;
        has_finished(): any;
        notify_finished(): any;
        _createElement(): HTMLElement;
        toString(): string;
        disconnect_signals(): void;
    };
    getters(specs: any): any[];
};
export declare class PolyAnnotation extends Annotation {
    initialize(attrs: any, options: any): Signal<{}, this>;
    update({xs, ys}: {
        xs: any;
        ys: any;
    }): any;
}
