import { type ChannelDefinition, type ConnectionDefinition, type JsonObject } from "@assemblyline-agents/core"; import { type ChannelAttachmentRequest, type ChannelContext, type ChannelDelivery, type ChannelHttpRequest, type ChannelHttpResult, type ChannelTurn, type ChannelTurnLifecycle } from "@assemblyline-agents/runtime"; export { verifyTeamsAuthorization } from "./auth.js"; export { defineTeamsAdaptiveCardTool, defineTeamsAttachmentTool, defineTeamsSuggestedActionsTool, teamsDestinationFromToolContext, type TeamsToolOptions } from "./tools.js"; export type { TeamsDestination } from "./util.js"; export declare const TEAMS_REQUIRED_CONFIG: readonly ["MICROSOFT_APP_ID"]; export declare const TEAMS_REQUIRED_CREDENTIALS: readonly ["MICROSOFT_APP_PASSWORD"]; /** Production ingress-auth requirement (any-of groups): Bot Framework JWT validation credentials. */ export declare const TEAMS_INGRESS_SECRET_ENV: string[][]; export interface TeamsChannelOptions { route?: string; description?: string; methods?: string[]; connection?: string; allowedTenants?: string[]; allowedServiceUrls?: string[]; stripMentions?: boolean; typing?: boolean; metadata?: JsonObject; } export interface TeamsConnectionOptions { description?: string; required?: boolean; } export declare function defineTeamsChannel(options?: TeamsChannelOptions): ChannelDefinition; export declare function perform(operation: string, input: JsonObject, turn: ChannelTurn, ctx: ChannelContext): Promise; /** A Bot Framework `personal` conversation is a 1:1 surface; team channels and group chats are shared. */ export declare function isPrivateSurface(turn: ChannelTurn): boolean; /** * Resolve a Teams turn attachment into a download request: Bot Framework * content URLs (botframework.com/skype.com or the activity's own serviceUrl * origin) fetched with a client-credentials bot token. The runtime only calls * this for turns this Teams channel produced. */ export declare function resolveAttachment(attachment: JsonObject, ctx: ChannelContext): Promise; export declare function defineTeamsConnection(options?: TeamsConnectionOptions): ConnectionDefinition; export declare function normalizeHttp(request: ChannelHttpRequest, ctx: ChannelContext): Promise; export declare function startTurn(turn: ChannelTurn, ctx: ChannelContext): ChannelTurnLifecycle; export declare function augmentContext(turn: ChannelTurn, ctx: ChannelContext): Promise<{ recentHistory?: string[]; channelContext?: JsonObject; } | void>; export declare function send(delivery: ChannelDelivery, ctx: ChannelContext): Promise; //# sourceMappingURL=index.d.ts.map