import { ApiResponse, MultiLanguageText, SettingGroup, Section, SettingItem } from './types';
export interface CreateGroupParams {
    section_code: string;
    code: string;
    title: MultiLanguageText;
    sort: number;
    description?: MultiLanguageText;
}
export interface UpdateGroupParams {
    id: number;
    code: string;
    title: MultiLanguageText;
    description?: MultiLanguageText;
}
export interface DeleteGroupParams {
    id: number;
}
export interface SortGroupParams {
    section_code: string;
    group_ids: number[];
}
export declare const createGroup: (request: any, params: CreateGroupParams, scene?: string) => Promise<ApiResponse<SettingGroup>>;
export declare const updateGroup: (request: any, params: UpdateGroupParams, scene?: string) => Promise<ApiResponse<SettingGroup>>;
export declare const deleteGroup: (request: any, params: DeleteGroupParams, scene?: string) => Promise<any>;
export declare const sortGroups: (request: any, params: SortGroupParams, scene?: string) => Promise<any>;
export declare const getSectionList: (request: any, params: {
    page?: number;
    pageSize?: number;
    filter?: Record<string, any>;
}, scene?: string) => Promise<ApiResponse<Section>>;
export declare const getGroupList: (request: any, params: {
    page?: number;
    pageSize?: number;
    filter?: Record<string, any>;
}, scene?: string) => 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;
    optionConfig?: {
        sourceType?: string;
        options?: Array<{
            label: string;
            value: string;
        }>;
        labelField?: string;
        valueField?: string;
        dataSource?: 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;
    optionConfig?: {
        sourceType?: string;
        options?: Array<{
            label: string;
            value: string;
        }>;
        labelField?: string;
        valueField?: string;
        dataSource?: 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, scene?: string) => Promise<ApiResponse<SettingItem>>;
export declare const updateItem: (request: any, params: UpdateItemParams, scene?: string) => Promise<ApiResponse<SettingItem>>;
export declare const deleteItem: (request: any, params: DeleteItemParams, scene?: string) => Promise<any>;
export declare const sortItems: (request: any, params: SortItemParams, scene?: string) => Promise<any>;
export declare const getItemList: (request: any, params: {
    page?: number;
    pageSize?: number;
    filter?: Record<string, any>;
}, scene?: string) => Promise<ApiResponse<SettingItem>>;
