import { ViewContainerRef } from "@angular/core"; import { DialogService, BaseDialogComponent, BaseDialogModel } from "../services/DialogService"; import { DialogRef } from 'angular2-modal'; import { PublishingService } from '../services'; import { Shared } from '../../../models'; export interface ISiteTreePickerParam { selectedSite: any; } export interface ISiteTreeNode extends Shared.ITreePickerNode { loaded?: boolean; } export declare class SitePicker { private dialogService; private viewContainerRef; selectedSite: any; onSiteSelected: Function; constructor(dialogService: DialogService, viewContainerRef: ViewContainerRef); showPickerDialog: () => void; } export declare class SiteTreePicker extends BaseDialogComponent> { dialog: DialogRef>; publishingService: PublishingService; selectedSite: any; isLoading: boolean; private selectedNode; private siteNodes; constructor(dialog: DialogRef>, publishingService: PublishingService); private loadSiteNode; selectNode: (sender: ISiteTreeNode) => void; private resetSelectedNode; private mapToTreePickerNode; private expandNode; close: () => void; ok: () => void; }