export declare class TypesService { url: string; setUrl: (api: any) => void; type: { list: (body?: { filter?: any; }) => Promise<{ list: Array<{ id: string; name: string; typeId: string; parentId: string; isMarkedForDeletion: boolean; }>; permissions: Array; }>; get: (body: { typeId: string; name?: string; }) => Promise; add: (body: { name: string; types?: Array; parentType?: string; }) => Promise; update: (body: { typeId: string; name?: string; types?: Array; parentType?: string; }) => Promise; delete: (body: { typeId: string; }) => Promise; deleteCache: () => Promise; }; }