import { HangupReasonJS, LegStatusJS, CallDisconnectReasonJS, CancelReasonJS, VoiceChannelTypeJS, SessionErrorReasonJS, VonageErrorTypeJS, CSErrorCodesJS, SessionErrorCodesJS } from '../kotlin/JsUnions'; export type CamelCase = S extends `${infer F}${Sep}${infer R}` ? `${Lowercase}${CamelCase, Sep>}` : Lowercase; export type PascalCase = S extends `${infer F}${Sep}${infer R}` ? `${Capitalize>}${PascalCase, Sep>}` : S extends Uppercase ? Capitalize> : Capitalize; export type toEnum = { [key in T as PascalCase]: key; }; export type unionOfValues = T[keyof T]; /** * Hangup reasons for a call * @enum */ export declare const HangupReason: toEnum; export type HangupReason = unionOfValues; /** * Leg status for a call * @enum */ export declare const LegStatus: toEnum; export type LegStatus = unionOfValues; /** * Call disconnect reasons * @enum */ export declare const CallDisconnectReason: toEnum; export type CallDisconnectReason = unionOfValues; /** * Call Invite cancel reasons * @enum */ export declare const CancelReason: toEnum; export type CancelReason = unionOfValues; /** * Voice Channel Types * @enum */ export declare const VoiceChannelType: toEnum; export type VoiceChannelType = unionOfValues; /** * Session Error Reasons * @enum */ export declare const SessionErrorReason: toEnum; export type SessionErrorReason = unionOfValues; /** * Vonage Error Types * @enum */ export declare const VonageErrorType: toEnum; /** * Vonage Error Values */ export type VonageErrorType = unionOfValues; export declare const CSErrorCodes: toEnum; export type CSErrorCodes = unionOfValues; export declare const SessionErrorCodes: toEnum; export type SessionErrorCodes = unionOfValues;