import { ApiResponse, MultiLanguageText, SettingGroup, Section, SettingItem } from './types';
export interface CreateGroupParams {
    section_code: string;
    code: string;
    title: MultiLanguageText;
    sort: number;
}
export interface UpdateGroupParams {
    id: number;
    code: string;
    title: MultiLanguageText;
}
export interface DeleteGroupParams {
    id: number;
}
export interface SortGroupParams {
    section_code: string;
    group_ids: number[];
}
export declare const createGroup: (request: any, params: CreateGroupParams) => Promise<ApiResponse<SettingGroup>>;
export declare const updateGroup: (request: any, params: UpdateGroupParams) => Promise<ApiResponse<SettingGroup>>;
export declare const deleteGroup: (request: any, params: DeleteGroupParams) => Promise<any>;
export declare const sortGroups: (request: any, params: SortGroupParams) => Promise<any>;
export declare const getSectionList: (request: any, params: {
    page?: number;
    pageSize?: number;
    filter?: Record<string, any>;
}) => Promise<ApiResponse<Section>>;
export declare const getGroupList: (request: any, params: {
    page?: number;
    pageSize?: number;
    filter?: Record<string, any>;
}) => Promise<ApiResponse<SettingGroup>>;
export interface CreateItemParams {
    section_code: string;
    group_id: number;
    code: string;
    title: MultiLanguageText;
    description?: MultiLanguageText;
    type: string;
    interface?: string;
    default?: string | null;
    scopes?: string[];
    schema?: any;
    sort?: number;
}
export interface UpdateItemParams {
    id: number;
    section_code: string;
    group_id: number;
    code: string;
    title: MultiLanguageText;
    description?: MultiLanguageText;
    type: string;
    interface?: string;
    default?: string | null;
    scopes?: string[];
    schema?: any;
    sort?: number;
}
export interface DeleteItemParams {
    id: number;
}
export interface SortItemParams {
    id: number;
    group_id: string;
    item_ids: number[];
}
export declare const createItem: (request: any, params: CreateItemParams) => Promise<ApiResponse<SettingItem>>;
export declare const updateItem: (request: any, params: UpdateItemParams) => Promise<ApiResponse<SettingItem>>;
export declare const deleteItem: (request: any, params: DeleteItemParams) => Promise<any>;
export declare const sortItems: (request: any, params: SortItemParams) => Promise<any>;
export declare const getItemList: (request: any, params: {
    page?: number;
    pageSize?: number;
    filter?: Record<string, any>;
}) => Promise<ApiResponse<SettingItem>>;
