import * as pulumi from "@pulumi/pulumi";
/**
 * `spacelift.Webhook` represents a webhook endpoint to which Spacelift sends the POST request about run state changes.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as spacelift from "@pulumi/spacelift";
 *
 * const webhook = spacelift.getWebhook({
 *     webhookId: spacelift_webhook.webhook.id,
 * });
 * ```
 */
export declare function getWebhook(args: GetWebhookArgs, opts?: pulumi.InvokeOptions): Promise<GetWebhookResult>;
/**
 * A collection of arguments for invoking getWebhook.
 */
export interface GetWebhookArgs {
    /**
     * ID of the stack which triggers the webhooks
     */
    moduleId?: string;
    /**
     * ID of the stack which triggers the webhooks
     */
    stackId?: string;
    /**
     * ID of the webhook
     */
    webhookId: string;
}
/**
 * A collection of values returned by getWebhook.
 */
export interface GetWebhookResult {
    /**
     * enables or disables sending webhooks
     */
    readonly enabled: boolean;
    /**
     * endpoint to send the POST request to
     */
    readonly endpoint: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * ID of the stack which triggers the webhooks
     */
    readonly moduleId?: string;
    /**
     * secret used to sign each POST request so you're able to verify that the request comes from us
     */
    readonly secret: string;
    /**
     * ID of the stack which triggers the webhooks
     */
    readonly stackId?: string;
    /**
     * ID of the webhook
     */
    readonly webhookId: string;
}
/**
 * `spacelift.Webhook` represents a webhook endpoint to which Spacelift sends the POST request about run state changes.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as spacelift from "@pulumi/spacelift";
 *
 * const webhook = spacelift.getWebhook({
 *     webhookId: spacelift_webhook.webhook.id,
 * });
 * ```
 */
export declare function getWebhookOutput(args: GetWebhookOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetWebhookResult>;
/**
 * A collection of arguments for invoking getWebhook.
 */
export interface GetWebhookOutputArgs {
    /**
     * ID of the stack which triggers the webhooks
     */
    moduleId?: pulumi.Input<string>;
    /**
     * ID of the stack which triggers the webhooks
     */
    stackId?: pulumi.Input<string>;
    /**
     * ID of the webhook
     */
    webhookId: pulumi.Input<string>;
}
