import { TemplateRef, ComponentRef } from '@angular/core';
import { OverlayRef } from '@angular/cdk/overlay';
import { NcImageOptions, NcImageCommonContext, NcImageListContext } from './nc-image-viewer/nc-image-viewer.interface';
import { NcImageViewerComponent } from './nc-image-viewer/nc-image-viewer.component';
export interface NcImageViewerServiceOptions {
    ncImages: NcImageOptions[];
    ncIndex?: number;
    ncLayout?: `horizontal` | `vertical`;
    ncTitle?: TemplateRef<NcImageCommonContext>;
    ncMinScale?: number;
    ncMaxScale?: number;
    ncListPosition?: `top` | `right` | `bottom` | `left`;
    ncList?: TemplateRef<NcImageListContext>;
    ncExtraTop?: TemplateRef<NcImageCommonContext>;
    ncExtraRight?: TemplateRef<NcImageCommonContext>;
    ncExtraBottom?: TemplateRef<NcImageCommonContext>;
    ncExtraLeft?: TemplateRef<NcImageCommonContext>;
    ncPlayDuration?: number;
    ncCloseable?: boolean;
    ncMaskClosable?: boolean;
    ncOnIndexChange?: (index: number) => void;
    ncOnClose?: () => void;
}
export interface NcImageViewerRef {
    overlayRef: OverlayRef;
    componentRef: ComponentRef<NcImageViewerComponent>;
}
