import { ChangeDetectorRef, AfterViewInit, OnDestroy } from '@angular/core'; import { BaseDashboardPart } from './base-dashboard-part'; import { AnalyzeArtifactService, NavigationRequest } from '@memberjunction/ng-artifacts'; import { DataSnapshot, UserInfo, CompositeKey } from '@memberjunction/core'; import { Subject } from 'rxjs'; import * as i0 from "@angular/core"; /** * Runtime renderer for Artifact dashboard parts. * Displays artifacts using mj-artifact-viewer-panel including reports, charts, and AI-generated content. */ export declare class ArtifactPartComponent extends BaseDashboardPart implements AfterViewInit, OnDestroy { private analyzeService; /** * Current user - required by the artifact viewer panel. * Should be provided by the dashboard host or retrieved from a service. */ CurrentUser: UserInfo | null; /** * Environment ID - required by the artifact viewer panel. * Should be provided by the dashboard host. */ EnvironmentId: string; hasArtifact: boolean; artifactId: string | null; versionNumber: number | undefined; showHeader: boolean; showTabs: boolean; showCloseButton: boolean; showMaximizeButton: boolean; refreshTrigger: Subject<{ artifactId: string; versionNumber: number; }>; get currentUser(): UserInfo; get environmentId(): string; constructor(cdr: ChangeDetectorRef, analyzeService: AnalyzeArtifactService); ngAfterViewInit(): void; loadContent(): Promise; /** * Refresh the artifact display */ refresh(): void; /** * Handle navigation link events from artifact viewer (conversation/collection links) */ onNavigateToLink(event: { type: 'conversation' | 'collection'; id: string; artifactId?: string; versionNumber?: number; versionId?: string; }): void; /** * Handle entity record navigation events from artifact viewer */ onOpenEntityRecord(event: { entityName: string; compositeKey: CompositeKey; }): void; /** * Handle general navigation request events from artifact viewer plugins */ onNavigationRequest(event: NavigationRequest): void; /** * Handler for the Analyze button on the embedded artifact viewer. * Captures the live DataSnapshot, creates an analysis conversation with * the snapshot attached as input, and emits a navigation request to open * the new conversation in the host application. */ onAnalyzeRequested(event: { artifactId: string; snapshot: DataSnapshot; }): Promise; protected cleanup(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } //# sourceMappingURL=artifact-part.component.d.ts.map