import { BaseResponse, PaginationReqParams, PaginationResponseBody } from '../common';
import { Component } from './component';
export interface ComponentCategory {
    type?: string;
    name: string;
    categoryName: string;
    groupName: string;
    sort: number;
    rank: number;
    props: {};
    description: string;
    screenshot: string;
}
export interface CategoryType {
    categoryName: string;
    groupNames: string[];
}
export interface ComponentCategoryFetchParams extends PaginationReqParams {
    applicationId: string;
}
export interface ComponentCategoryFetchRes extends PaginationResponseBody<Component[]> {
}
export interface CategoryTypeFetchRes extends BaseResponse<CategoryType[]> {
}
export interface ComponentCategorySaveParams {
    applicationId: string;
    id: string;
    category: ComponentCategory;
}
