import { type Any } from '@bufbuild/protobuf/wkt'; import { type Config, type ConfigJson, type Payload } from '../../../../../generated/capabilities/networking/http/v1alpha/trigger_pb'; import type { Trigger } from '../../../../../sdk/utils/triggers/trigger-interface'; import type { NoExcess } from '../../../../../sdk/utils/types/no-excess'; /** * HTTP Capability * * Capability ID: http-trigger@1.0.0-alpha * Capability Name: http-trigger * Capability Version: 1.0.0-alpha */ export declare class HTTPCapability { /** The capability ID for this service */ static readonly CAPABILITY_ID = "http-trigger@1.0.0-alpha"; static readonly CAPABILITY_NAME = "http-trigger"; static readonly CAPABILITY_VERSION = "1.0.0-alpha"; trigger(config: NoExcess): HTTPTrigger; } /** * Trigger implementation for Trigger */ declare class HTTPTrigger implements Trigger { private readonly _capabilityId; private readonly _method; readonly config: Config; constructor(config: Config | ConfigJson, _capabilityId: string, _method: string); capabilityId(): string; method(): string; outputSchema(): import("@bufbuild/protobuf/codegenv2").GenMessage; configAsAny(): Any; /** * Transform the raw trigger output - override this method if needed * Default implementation returns the raw output unchanged */ adapt(rawOutput: Payload): Payload; } export {};