import { Observable } from 'rxjs'; export interface IRectangle { w: number; h: number; x: number; y: number; } export interface IImage { $selected?: boolean; $editing?: boolean; id: string; filename?: string; src: string; type?: string; size?: number; width?: number; mimetype?: string; publicUrl?: string; height?: number; title?: string; alt?: string; description?: string; caption?: string; createdAt?: Date; updatedAt?: Date; uploadedBy?: string; } export interface AppState { mediaItems: Array; searchMediaItems: Array; } export interface IEvent { type: 'SEARCH_START' | 'SEARCH_END' | 'SEARCH_CLEAR'; } export interface ImageScale { width: number; height: number; } export declare enum IInteractionType { Edit = 0, SingleSelect = 1, MultipleSelect = 2 } export interface IDialogConfiguration { title?: string; interactionType?: IInteractionType; storage?: any; } export interface IDialogResult { afterClose(): Observable; } export interface IFile { filename?: string; user?: number; id?: any; publicUrl?: string; diskname?: string; storage?: 'ng-cloud' | 's3'; }