import type { Store } from 'n3';
import type { InteractionRoute } from '../../../identity/interaction/routing/InteractionRoute';
import { NOTIFY } from '../../../util/Vocabularies';
import { BaseChannelType } from '../BaseChannelType';
import type { NotificationChannel } from '../NotificationChannel';
import type { StateHandler } from '../StateHandler';
/**
 * A {@link NotificationChannel} containing the necessary fields for a WebHookChannel2023 channel.
 */
export interface WebhookChannel2023 extends NotificationChannel {
    /**
     * The "WebHookChannel2023" type.
     */
    type: typeof NOTIFY.WebHookChannel2023;
    /**
     * Where the notifications have to be sent.
     */
    sendTo: string;
}
export declare function isWebHook2023Channel(channel: NotificationChannel): channel is WebhookChannel2023;
/**
 * The notification channel type WebHookChannel2023 as described in
 * https://solid.github.io/notifications/webhook-channel-2023
 *
 * Requires read permissions on a resource to be able to receive notifications.
 *
 * Also handles the `state` feature if present.
 */
export declare class WebhookChannel2023Type extends BaseChannelType {
    protected readonly logger: import("../../..").Logger;
    private readonly stateHandler;
    private readonly webId;
    /**
     * @param route - The route corresponding to the URL of the subscription service of this channel type.
     * @param webIdRoute - The route to the WebID that needs to be used when generating DPoP tokens for notifications.
     * @param stateHandler - The {@link StateHandler} that will be called after a successful subscription.
     * @param features - The features that need to be enabled for this channel type.
     */
    constructor(route: InteractionRoute, webIdRoute: InteractionRoute, stateHandler: StateHandler, features?: string[]);
    initChannel(data: Store): Promise<WebhookChannel2023>;
    toJsonLd(channel: NotificationChannel): Promise<Record<string, unknown>>;
    completeChannel(channel: NotificationChannel): Promise<void>;
}
