import { UmbControllerBase } from '../../../libs/class-api/index.js';
import type { NewsDashboardResponseModel } from '../../core/backend-api/index.js';
import type { UmbDataSourceResponse } from '../../core/repository/index.js';
export interface UmbNewsDataSource {
    getNewsItems(): Promise<UmbDataSourceResponse<NewsDashboardResponseModel>>;
}
/**
 * A data source for the news items
 * @class UmbNewsServerDataSource
 * @implements {UmbNewsDataSource}
 */
export declare class UmbNewsServerDataSource extends UmbControllerBase implements UmbNewsDataSource {
    /**
     * Get all news items from the server
     * @returns {*}
     * @memberof UmbNewsServerDataSource
     */
    getNewsItems(): Promise<import("../../core/resources/index.js").UmbApiResponse<{
        data: NewsDashboardResponseModel;
        request: Request;
        response: Response;
    }>>;
}
