import * as Core from 'cloudflare/core';
import { APIResource } from 'cloudflare/resource';
import * as PagerdutyAPI from 'cloudflare/resources/alerting/destinations/pagerduty';
export declare class Pagerduty extends APIResource {
    /**
     * Creates a new token for integrating with PagerDuty.
     */
    create(params: PagerdutyCreateParams, options?: Core.RequestOptions): Core.APIPromise<PagerdutyCreateResponse>;
    /**
     * Deletes all the PagerDuty Services connected to the account.
     */
    delete(params: PagerdutyDeleteParams, options?: Core.RequestOptions): Core.APIPromise<PagerdutyDeleteResponse | null>;
    /**
     * Get a list of all configured PagerDuty services.
     */
    get(params: PagerdutyGetParams, options?: Core.RequestOptions): Core.APIPromise<PagerdutyGetResponse | null>;
    /**
     * Links PagerDuty with the account using the integration token.
     */
    link(tokenId: string, params: PagerdutyLinkParams, options?: Core.RequestOptions): Core.APIPromise<PagerdutyLinkResponse>;
}
export interface AlertingPagerduty {
    /**
     * UUID
     */
    id?: string;
    /**
     * The name of the pagerduty service.
     */
    name?: string;
}
export interface PagerdutyCreateResponse {
    /**
     * token in form of UUID
     */
    id?: string;
}
export type PagerdutyDeleteResponse = unknown | Array<unknown> | string;
export type PagerdutyGetResponse = Array<AlertingPagerduty>;
export interface PagerdutyLinkResponse {
    /**
     * UUID
     */
    id?: string;
}
export interface PagerdutyCreateParams {
    /**
     * The account id
     */
    account_id: string;
}
export interface PagerdutyDeleteParams {
    /**
     * The account id
     */
    account_id: string;
}
export interface PagerdutyGetParams {
    /**
     * The account id
     */
    account_id: string;
}
export interface PagerdutyLinkParams {
    /**
     * The account id
     */
    account_id: string;
}
export declare namespace Pagerduty {
    export import AlertingPagerduty = PagerdutyAPI.AlertingPagerduty;
    export import PagerdutyCreateResponse = PagerdutyAPI.PagerdutyCreateResponse;
    export import PagerdutyDeleteResponse = PagerdutyAPI.PagerdutyDeleteResponse;
    export import PagerdutyGetResponse = PagerdutyAPI.PagerdutyGetResponse;
    export import PagerdutyLinkResponse = PagerdutyAPI.PagerdutyLinkResponse;
    export import PagerdutyCreateParams = PagerdutyAPI.PagerdutyCreateParams;
    export import PagerdutyDeleteParams = PagerdutyAPI.PagerdutyDeleteParams;
    export import PagerdutyGetParams = PagerdutyAPI.PagerdutyGetParams;
    export import PagerdutyLinkParams = PagerdutyAPI.PagerdutyLinkParams;
}
//# sourceMappingURL=pagerduty.d.ts.map