export declare const protobufPackage = "channel.app.sdk.v1"; export interface Caller { type?: string | undefined; id?: string | undefined; } export interface Channel { id?: string | undefined; } export interface Chat { type?: string | undefined; id?: string | undefined; } export interface User { id?: string | undefined; channelId?: string | undefined; type?: string | undefined; member?: boolean | undefined; memberId?: string | undefined; profile?: { [key: string]: any; } | undefined; } export interface UserChat { id?: string | undefined; profile?: { [key: string]: any; } | undefined; state?: string | undefined; } export interface WebhookEndpointContext { url?: string | undefined; } /** Platform-signed target for OAuth flow hooks; caller remains system. */ export interface OAuthFlowContext { appId?: string | undefined; channelId?: string | undefined; /** Manager who initiated the flow, not an impersonated caller. */ managerId?: string | undefined; /** channel or manager. */ authScope?: string | undefined; key?: string | undefined; targetManagerId?: string | undefined; } export interface FunctionContext { caller?: Caller | undefined; channel?: Channel | undefined; user?: User | undefined; userChat?: UserChat | undefined; authToken?: string | undefined; legacyAuthToken?: string | undefined; apiCredentials?: { [key: string]: string; } | undefined; config?: { [key: string]: any; } | undefined; language?: string | undefined; sandbox?: boolean | undefined; sessionId?: string | undefined; seedState?: any | undefined; webhooks?: { [key: string]: WebhookEndpointContext; } | undefined; oauthFlow?: OAuthFlowContext | undefined; } export interface FunctionContext_ApiCredentialsEntry { key: string; value: string; } export interface FunctionContext_WebhooksEntry { key: string; value?: WebhookEndpointContext | undefined; } //# sourceMappingURL=context.d.ts.map