import type { Message } from '@bufbuild/protobuf'; import type { GenEnum, GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv2'; /** * Describes the file capabilities/networking/http/v1alpha/trigger.proto. */ export declare const file_capabilities_networking_http_v1alpha_trigger: GenFile; /** * @generated from message capabilities.networking.http.v1alpha.Config */ export type Config = Message<'capabilities.networking.http.v1alpha.Config'> & { /** * Public keys against which the signature of incoming requests are validated * * @generated from field: repeated capabilities.networking.http.v1alpha.AuthorizedKey authorized_keys = 1; */ authorizedKeys: AuthorizedKey[]; }; /** * @generated from message capabilities.networking.http.v1alpha.Config */ export type ConfigJson = { /** * Public keys against which the signature of incoming requests are validated * * @generated from field: repeated capabilities.networking.http.v1alpha.AuthorizedKey authorized_keys = 1; */ authorizedKeys?: AuthorizedKeyJson[]; }; /** * Describes the message capabilities.networking.http.v1alpha.Config. * Use `create(ConfigSchema)` to create a new message. */ export declare const ConfigSchema: GenMessage; /** * @generated from message capabilities.networking.http.v1alpha.Payload */ export type Payload = Message<'capabilities.networking.http.v1alpha.Payload'> & { /** * JSON input in the HTTP trigger request (as bytes) * * @generated from field: bytes input = 1; */ input: Uint8Array; /** * Key used to sign the HTTP trigger request * * @generated from field: capabilities.networking.http.v1alpha.AuthorizedKey key = 2; */ key?: AuthorizedKey; }; /** * @generated from message capabilities.networking.http.v1alpha.Payload */ export type PayloadJson = { /** * JSON input in the HTTP trigger request (as bytes) * * @generated from field: bytes input = 1; */ input?: string; /** * Key used to sign the HTTP trigger request * * @generated from field: capabilities.networking.http.v1alpha.AuthorizedKey key = 2; */ key?: AuthorizedKeyJson; }; /** * Describes the message capabilities.networking.http.v1alpha.Payload. * Use `create(PayloadSchema)` to create a new message. */ export declare const PayloadSchema: GenMessage; /** * Generic and extensible authorized signer abstraction * * @generated from message capabilities.networking.http.v1alpha.AuthorizedKey */ export type AuthorizedKey = Message<'capabilities.networking.http.v1alpha.AuthorizedKey'> & { /** * @generated from field: capabilities.networking.http.v1alpha.KeyType type = 1; */ type: KeyType; /** * @generated from field: string public_key = 2; */ publicKey: string; }; /** * Generic and extensible authorized signer abstraction * * @generated from message capabilities.networking.http.v1alpha.AuthorizedKey */ export type AuthorizedKeyJson = { /** * @generated from field: capabilities.networking.http.v1alpha.KeyType type = 1; */ type?: KeyTypeJson; /** * @generated from field: string public_key = 2; */ publicKey?: string; }; /** * Describes the message capabilities.networking.http.v1alpha.AuthorizedKey. * Use `create(AuthorizedKeySchema)` to create a new message. */ export declare const AuthorizedKeySchema: GenMessage; /** * @generated from enum capabilities.networking.http.v1alpha.KeyType */ export declare enum KeyType { /** * @generated from enum value: KEY_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: KEY_TYPE_ECDSA_EVM = 1; */ ECDSA_EVM = 1 } /** * @generated from enum capabilities.networking.http.v1alpha.KeyType */ export type KeyTypeJson = 'KEY_TYPE_UNSPECIFIED' | 'KEY_TYPE_ECDSA_EVM'; /** * Describes the enum capabilities.networking.http.v1alpha.KeyType. */ export declare const KeyTypeSchema: GenEnum; /** * @generated from service capabilities.networking.http.v1alpha.HTTP */ export declare const HTTP: GenService<{ /** * @generated from rpc capabilities.networking.http.v1alpha.HTTP.Trigger */ trigger: { methodKind: 'server_streaming'; input: typeof ConfigSchema; output: typeof PayloadSchema; }; }>;