import type { UmbWebhookCollectionFilterModel } from '../types.js';
import type { UmbWebhookDetailModel } from '../../types.js';
import type { UmbControllerHost } from '../../../../../libs/controller-api/index.js';
/**
 * A data source that fetches the webhook collection data from the server.
 * @class UmbWebhookCollectionServerDataSource
 * @implements {UmbCollectionDataSource}
 */
export declare class UmbWebhookCollectionServerDataSource implements UmbWebhookCollectionServerDataSource {
    #private;
    /**
     * Creates an instance of UmbWebhookCollectionServerDataSource.
     * @param {UmbControllerHost} host - The controller host for this controller to be appended to
     * @memberof UmbWebhookCollectionServerDataSource
     */
    constructor(host: UmbControllerHost);
    /**
     * Gets the Webhook collection filtered by the given filter.
     * @param {UmbWebhookCollectionFilterModel} filter
     * @param _filter
     * @returns {*}
     * @memberof UmbWebhookCollectionServerDataSource
     */
    getCollection(_filter: UmbWebhookCollectionFilterModel): Promise<{
        error: import("../../../../core/resources/index.js").UmbApiError | import("../../../../core/resources/index.js").UmbCancelError | undefined;
        data?: undefined;
    } | {
        data: {
            items: UmbWebhookDetailModel[];
            total: number;
        };
        error?: undefined;
    }>;
}
