import type { WidgetSettings } from '@voiceflow/dtos-interact'; import type { DownloadTranscriptPayload, RuntimeCSATRequest, RuntimeFeedbackRequest, RuntimeHttpRequest, RuntimeOptions } from './runtime.interface'; export declare abstract class RuntimeService { private readonly options; private readonly fetch; constructor(options: RuntimeOptions); abstract getPublishing>(request: { versionID?: string; chatVersion?: number; }): Promise; abstract setup(request: { clientID: string; environmentID?: string; versionVariant?: 'draft' | 'published'; }): Promise<{ settings: WidgetSettings; versionID: string; environmentID: string | null; versionVariant: 'draft' | 'published' | null; }>; abstract downloadTranscript(payload: DownloadTranscriptPayload): Promise<{ text: string; filename?: string; }>; abstract endTranscript({ userID, projectID, versionID, }: { userID: string; projectID: string; versionID?: string; }): Promise; abstract feedback(request: RuntimeFeedbackRequest): Promise; abstract csat(request: RuntimeCSATRequest): Promise; protected sendRaw(path: string, args?: RuntimeHttpRequest): Promise; protected send(path: string, args?: RuntimeHttpRequest): Promise; protected sendText(path: string, args?: RuntimeHttpRequest): Promise<{ text: string; filename?: string; }>; } //# sourceMappingURL=runtime.service.d.ts.map