import { TwirpContext, TwirpServer } from 'twirp-ts'; import { StartJourneyRequest, StartJourneyResponse, JourneyProgressRequest, JourneyProgressResponse, JourneyInteractionRequest, JourneyInteractionResponse, EndJourneyRequest, EndJourneyResponse, AppReadyRequest, AppReadyResponse } from './telemetry.js'; export interface TelemetryPluginTwirp { StartJourney(ctx: T, request: StartJourneyRequest): Promise; JourneyProgress(ctx: T, request: JourneyProgressRequest): Promise; JourneyInteraction(ctx: T, request: JourneyInteractionRequest): Promise; EndJourney(ctx: T, request: EndJourneyRequest): Promise; AppReady(ctx: T, request: AppReadyRequest): Promise; } export declare enum TelemetryPluginMethod { StartJourney = "StartJourney", JourneyProgress = "JourneyProgress", JourneyInteraction = "JourneyInteraction", EndJourney = "EndJourney", AppReady = "AppReady" } export declare const TelemetryPluginMethodList: TelemetryPluginMethod[]; export declare function createTelemetryPluginServer(service: TelemetryPluginTwirp): TwirpServer>>, T>; //# sourceMappingURL=telemetry.twirp.d.ts.map