import { Redirect } from '../common'; export type Server = { name: string; domain: string; desc: string | null; team: number; server: string; storage: string; storage_config: StorageConfig; redirect_config: Redirect; analytics: string | null; cdn: string; enabled: boolean; error: Error | null; locked: boolean; favorite: boolean; tags: string[]; rendering: Rendering; security: Security; deployment: Deployment; browser: Browser; deleted: boolean; updated: Date; created: Date; }; export type StorageConfig = { repo: string | null; branch: string | null; root?: string | null; }; export type Rendering = Record; export declare enum FilterMode { everything = 0, include_regex = 1, nothing = 2 } export type Security = Record; export type Deployment = { autoupdate: boolean; precache: boolean; precachedata: boolean; }; export type Browser = Record; export type Folder = { id: string; name: string; path: string; url: string; origin_url: string; filtered: boolean; modified: Date | null; cached: Date | null; }; export type File = { id: string; name: string; size: number; path: string; hash: string; mime: string | null; category: Category | null; url: string; origin_url: string; filtered: boolean; raw: boolean; toobig: boolean; modified: Date | null; cached: Date | null; }; export declare enum Category { 'Unknown Binary' = 1, Text = 2, Image = 3, Document = 4, Archive = 5, Executable = 6, Video = 8, CSS = 9, Audio = 10, HTML = 11, Javascript = 12 } export type FileOrFolder = File | Folder; export type TagsParams = { tag_web?: boolean; tag_lander?: boolean; tag_cdn?: boolean; };