import { ChangeDetectorRef, OnInit } from '@angular/core'; import { CompositeKey } from '@memberjunction/core'; import { MJArtifactVersionEntity } from '@memberjunction/core-entities'; import { BaseConfigPanel } from './base-config-panel'; import { PanelConfig } from '../models/dashboard-types'; import { TreeBranchConfig, TreeLeafConfig, TreeNode, TreeDropdownComponent } from '@memberjunction/ng-trees'; import * as i0 from "@angular/core"; /** * Configuration panel for Artifact parts. * Uses tree dropdown for collection-based artifact selection. */ export declare class ArtifactConfigPanelComponent extends BaseConfigPanel implements OnInit { artifactDropdown: TreeDropdownComponent; title: string; artifactId: string; artifactName: string; versionNumber: number | null; showHeader: boolean; showTabs: boolean; showVersionSelector: boolean; showMetadata: boolean; versions: MJArtifactVersionEntity[]; isLoadingVersions: boolean; private previousArtifactName; showOptions: boolean; artifactError: string; CollectionConfig: TreeBranchConfig; ArtifactLeafConfig: TreeLeafConfig; constructor(cdr: ChangeDetectorRef); ngOnInit(): void; /** * Get the artifactId as a CompositeKey for the tree dropdown */ get ArtifactIdAsKey(): CompositeKey | null; initFromConfig(config: PanelConfig | null): Promise; buildConfig(): PanelConfig; validate(): { valid: boolean; errors: string[]; }; getDefaultTitle(): string; getTitle(): string; onTitleChange(): void; /** * Handle artifact selection from tree dropdown */ onArtifactSelection(node: TreeNode | TreeNode[] | null): Promise; /** * Load all versions for a given artifact */ private loadVersionsForArtifact; onVersionChange(): void; onOptionChange(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } //# sourceMappingURL=artifact-config-panel.component.d.ts.map