import { ActionType } from '../components/search-result-grid/_models/constants'; export declare class Attachment { attachmentId: string; fileName: string; description: string; createdDate: string; isView?: boolean; file?: Blob; size: string; type?: string; icon?: string; optional?: Array; metaData?: Array; state?: Array; previewType?: string; } export declare class OptionalText { key: string; value: string; } export declare enum ViewMode { Model = 0, Detail = 1 } export declare enum DisplayType { List = 0, Tile = 1, Both = 2 } export declare enum ViewType { View = 0, Edit = 1 } export declare class ViewModeConfig { mode: ViewMode; displayType: DisplayType; type: ViewType; } export declare class Action { isEdit: boolean; isReplace: boolean; isDelete: boolean; isPreview: boolean; isDownload: boolean; } export declare enum AttachmentAction { Edit = 0, Preview = 1, Download = 2, Delete = 3, Replace = 4 } export declare enum ActionMethod { GET = 0, PUT = 1, POST = 2, DELETE = 3 } export declare enum ParameterType { BODY = 0, PRM = 1, QUERYTRING = 2 } export declare enum ActionTo { In = 0, Out = 1 } export declare class AttachmentConfiguration { data: Array; viewMode: ViewModeConfig; gridConfig?: ListViewConfig; actions: Array; actionUrls?: Array; header?: AttachmentModalHeader; filesType?: Array; isPreview?: boolean; } export declare class ActionUrl { action?: AttachmentAction; method?: ActionMethod; url?: string; parameterType?: ParameterType; actionTo?: ActionTo; parameters?: Array; } export declare class Parameter { parameterName: string; parameterKey: string; } export declare class ListViewConfig { pageSize: number; gridColumns: Array; pageHeight: number; showActionColumnText?: boolean; actionType?: ActionType; } export declare class AttachmentColumn { label: string; value: string; isExternal?: boolean; isShow?: boolean; } export declare class AttachmentModalHeader { label: string; value: string; } export declare class AttachmentOutput { item: Attachment; data: Array | Array | Array; action: AttachmentAction; index: number; } export declare class PdfData { base64data: string; pagesCount: number; } export declare enum AttachmentType { DOC = 0, PDF = 1, IMG = 2 }