/// <reference types="react" />
export interface IProps<T> {
    name: string;
    mediaType: 'HEAD_IMAGE' | 'IMAGE_TEXT';
    dialogVisible: boolean;
    handleVisible: (e: boolean) => void;
    list: T[];
    listIndex: number;
    handleListIndex: (e: number) => void;
    header: MediaCategoryList[];
    headerIndex: number;
    handleHeaderIndex: (e: number) => void;
    content?: JSX.Element;
    onSubmit: () => void;
    onCancel: () => void;
}
export interface IState {
}
export interface Props<T> extends Omit<IProps<T>, 'name' | 'content' | 'onSubmit' | 'onCancel' | 'dialogVisible' | 'handleVisible'> {
    list: T[];
    listIndex: number;
    handleListIndex: (e: number) => void;
    header: MediaCategoryList[];
    headerIndex: number;
    handleHeaderIndex: (e: number) => void;
}
export interface MediaCategoryList {
    ctgId: number;
    parentId: number;
    sub: any[];
    title: string;
}
