import { CustomMenuItem, CreatorCheckResult } from "../../menu"; import { ApiResponse } from "../../apiResponse"; export interface IManagementGridConfigApiService { GetAllOnUser(): Promise>; GetAllOnUserForApp(appName: string): Promise>; GetGridConfigByUserIdAsync(customQuery: string, userPublicId: string): Promise>; SaveGridConfigAsync(gridConfig: CustomMenuItem): Promise>; DeleteGridConfigAsync(publicId: string): Promise>; UpdateUsers(publicId: string, userPublicIds: string[]): Promise>; UpdateByPathAndNameAsync(path: string, itemName: string, newData: CustomMenuItem): Promise>; CheckIfUserIsCreatorOfCustomItem(layoutName: string): Promise>; SubscribeToNewGridConfig(subscriber: any): void; OnNewGridConfig(): void; }