import { ContentThemeItemModel } from './ContentThemeModel.js'; import '../Abstract/BaseItemModel.js'; import '../Abstract/BaseModel.js'; /** * API Service - Content */ declare class AesirxContentThemeApiService { route: any; constructor(); /** * Get litmit items of Content themes * @param page (default: 1) * @param limit (default: 20) * @returns Array of ContentThemeModel * */ getContentThemes(page?: number, limit?: number, returnAsJSON?: boolean): Promise<{ list: any; pagination: { page: number | null; pageLimit: number | null; limitstart: number | null; totalItems: number | null; totalPages: number | null; } | null; } | null>; /** * Call this function once you need the detail inforamtion of a Project Item by passing a ID * @param Id (default: null) * @returns {JSON|NULL} * - JSON: Content theme item information is in JSON format * - NULL: Content theme item is NOT found * */ getContentThemeItem(id?: number, returnAsJSON?: boolean): Promise; /** * Create a Content * @param JSON data * - Fields structure: * { * * * } * @returns {Boolean} */ createContentTheme(data: any): Promise; /** * Update data of the Content theme with specified Content theme ID * @param JSON data * - Fields structure: * { * * } * @returns {Boolean} */ updateContentTheme(data: any): Promise; /** * Delete a Content Theme * @param integer id * @returns {Boolean} */ deleteContentTheme(id: any): Promise; /** * Get content theme by design id * @param designId (default: 0) * @returns {JSON|NULL} * */ getContentThemeByDesignId(designId?: null, returnAsJSON?: boolean): Promise; } export { AesirxContentThemeApiService as default };