import type { Location } from '@veltdev/types';
import type { CommentAnnotationContext } from './types';
export declare class VeltService {
    static selectedCommentsMap: Map<string, boolean>;
    static subscribers: Map<string, (selectedCommentsMap: Map<string, boolean>) => void>;
    static isSubscribed: boolean;
    static getCommentElement: () => import("@veltdev/types").CommentElement | null;
    static addManualComment: ({ context, location, }: {
        context: CommentAnnotationContext;
        location?: Location | undefined;
    }) => Promise<any>;
    static updateContext: ({ annotationId, context, }: {
        annotationId: string;
        context: CommentAnnotationContext;
    }) => Promise<any> | undefined;
    static subscribeToSelectedCommentsMap: (id: string, subscriber: (selectedCommentsMap: Map<string, boolean>) => void) => void;
    static unsubscribeFromSelectedCommentsMap: (id: string) => void;
    static catchError: (message: string, otherProperties?: any) => void;
    static subscribeToSelectedAnnotationsMapSingleton: () => Map<any, any> | undefined;
    private static updateSelectedCommentsMap;
}
