import { Base } from '@blinkk/selective-edit/dist/mixins'; import { EditorState } from '../editor/state'; export interface ProjectTypeState { } declare const BaseProjectTypeState_base: { new (...args: any[]): { _listeners?: Record void)[]> | undefined; addListener(eventName: string, callback: (...args: any) => void): void; readonly listeners: Record void)[]>; triggerListener(eventName: string, ...args: any): void; }; } & typeof Base; export declare class BaseProjectTypeState extends BaseProjectTypeState_base implements ProjectTypeState { editorState: EditorState; /** * Keep track of active promises to keep from requesting the same data * multiple times. */ protected promises: Record>; constructor(editorState: EditorState); /** * Determines if there is an existing promise for a given key. * * @param key Key identifying the promise or loading status. */ inProgress(key: string): boolean; /** * Signal for the editor to re-render. */ render(): void; } export {};