import { Notification } from "@kie-tools-core/notifications/dist/api"; declare global { interface Window { gwtEditorBeans: Map; appFormerGwtFinishedLoading: () => any; erraiBusApplicationRoot: string; erraiBusRemoteCommunicationEnabled: boolean; } } export interface GwtEditor { getContent(): Promise; setContent(normalizedPosixPathRelativeToTheWorkspaceRoot: string, content: string): Promise; getPreview(): Promise; validate(): Promise; selectStateByName(name: string | null): Promise; applyTheme(name: string | null): Promise; } export declare class GwtAppFormerConsumedInteropApi { onFinishedLoading(callback: () => Promise): void; getEditor(editorId: string): GwtEditor; } //# sourceMappingURL=GwtAppFormerConsumedInteropApi.d.ts.map