import { AbstractEntity, ResponseBody } from '@/types/index';
interface ApplicationHost {
    url: string;
    locales: string[];
}
export interface Application extends Pick<AbstractEntity, 'id' | 'createTime' | 'creator' | 'updateTime'> {
    name: string;
    deleted: boolean;
    host: ApplicationHost[];
    intro: string;
    locales: string[];
    organizationId: string;
    resources: ApplicationResource[];
    slug: string;
}
export interface ApplicationFetchRes extends ResponseBody<Application> {
}
export interface ApplicationResource extends Pick<Application, 'id' | 'name'> {
    detail: {
        host: string;
        downloadHost: string;
    };
    type: number;
}
export interface ApplicationEntityMultiHost extends Omit<Application, 'host'> {
    host: ApplicationHost[];
    localeObjects: Array<{
        region: string;
        language: string;
    }>;
}
export {};
