import type { components } from '../generated/api.js';
import type { ServiceId } from '../core/branded-types.js';
import { WorkspaceScopedResource } from './base.js';
import type { ListParams } from '../core/utils.js';
export interface ListServicesParams extends ListParams {
    search?: string;
    type?: string;
}
/**
 * Manage services — external service configurations that agents can call.
 * Services represent integrations like scheduling systems, EHRs, or CRMs
 * that skills can interact with via their tool definitions.
 */
export declare class ServicesResource extends WorkspaceScopedResource {
    create(body: components['schemas']['CreateServiceRequest']): Promise<{
        agent_id: string;
        agent_name?: string | null | undefined;
        channel_type?: "voice" | "text" | undefined;
        context_graph_id: string;
        context_graph_name?: string | null | undefined;
        created_at: string;
        description: string;
        environment?: "sandbox" | "production" | undefined;
        escalation_policy?: {
            context_window_exhaustion?: {
                type: "operator";
            } | {
                type: "forward";
            } | {
                type: "hangup";
            } | undefined;
            conversation_monitor?: {
                type: "operator";
            } | {
                type: "forward";
            } | {
                type: "hangup";
            } | undefined;
            risk_scorer?: {
                type: "operator";
            } | {
                type: "forward";
            } | {
                type: "hangup";
            } | undefined;
        } | null | undefined;
        id: string;
        is_active: boolean;
        is_system?: boolean | undefined;
        keyterms: string[];
        name: string;
        safety_filters_enabled?: boolean | undefined;
        tags: {
            key: string;
            value?: string | null | undefined;
        }[];
        tool_capacity: number;
        updated_at: string;
        version_sets: {
            [x: string]: {
                agent_version_number?: number | null | undefined;
                context_graph_version_number?: number | null | undefined;
                llm_model_preferences?: {
                    [x: string]: {
                        experience_controls?: {
                            frequency_penalty?: number | null | undefined;
                            logit_bias?: {
                                [x: string]: number;
                            } | null | undefined;
                            logprobs?: boolean | null | undefined;
                            metadata?: {
                                [x: string]: string;
                            } | null | undefined;
                            parallel_tool_calls?: boolean | null | undefined;
                            presence_penalty?: number | null | undefined;
                            prompt_cache_key?: string | null | undefined;
                            prompt_cache_retention?: ("in-memory" | "24h") | null | undefined;
                            reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh") | null | undefined;
                            response_format?: {
                                [x: string]: unknown;
                            } | null | undefined;
                            safety_identifier?: string | null | undefined;
                            seed?: number | null | undefined;
                            service_tier?: string | null | undefined;
                            stop?: string | string[] | null | undefined;
                            store?: boolean | null | undefined;
                            temperature?: number | null | undefined;
                            top_logprobs?: number | null | undefined;
                            top_p?: number | null | undefined;
                            verbosity?: ("low" | "medium" | "high") | null | undefined;
                        } | null | undefined;
                        llm_name: string;
                        params?: {
                            [x: string]: unknown;
                        } | undefined;
                    };
                } | undefined;
                turn_runtime?: "native" | "openai-agents" | undefined;
            };
        };
        voice_config?: {
            backchannel_delay_ms?: number | undefined;
            barge_in_cooldown_s?: number | null | undefined;
            barge_in_min_speech_s?: number | null | undefined;
            eager_eot_threshold?: number | null | undefined;
            empathy_hold_ms?: number | null | undefined;
            eot_timeout_ms?: number | null | undefined;
            filler_cooldown_ms?: number | null | undefined;
            filler_style?: "backchannel" | "phrase" | "silent" | undefined;
            filler_vocabulary?: string[] | null | undefined;
            forward_call_enabled?: boolean | undefined;
            forwarding?: {
                forward_to: components["schemas"]["PhoneE164"];
                should_disconnect?: boolean | undefined;
                warm_transfer?: boolean | undefined;
            } | null | undefined;
            language_providers?: {
                [x: string]: {
                    config?: {
                        [x: string]: unknown;
                    } | undefined;
                    provider: "cartesia" | "elevenlabs" | "groq";
                };
            } | null | undefined;
            max_buffer_delay_ms?: number | null | undefined;
            max_response_sentences?: number | null | undefined;
            max_response_words?: number | null | undefined;
            min_tts_speed?: number | null | undefined;
            post_eot_pause_ms?: number | null | undefined;
            progress_interval_ms?: number | null | undefined;
            progress_vocabulary?: string[] | null | undefined;
            session_provider?: ("inhouse" | "openai_realtime" | "atlas") | null | undefined;
            transition_deadline_ms?: number | null | undefined;
            tts_config?: {
                [x: string]: unknown;
            } | null | undefined;
            tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
            tts_provider?: ("cartesia" | "elevenlabs" | "groq") | null | undefined;
        } | null | undefined;
        workspace_id: string;
    } & import("../index.js").ResponseMetadata>;
    list(params?: ListServicesParams): Promise<{
        continuation_token?: number | null | undefined;
        has_more: boolean;
        items: {
            agent_id: string;
            agent_name?: string | null | undefined;
            channel_type?: "voice" | "text" | undefined;
            context_graph_id: string;
            context_graph_name?: string | null | undefined;
            created_at: string;
            description: string;
            environment?: "sandbox" | "production" | undefined;
            escalation_policy?: {
                context_window_exhaustion?: {
                    type: "operator";
                } | {
                    type: "forward";
                } | {
                    type: "hangup";
                } | undefined;
                conversation_monitor?: {
                    type: "operator";
                } | {
                    type: "forward";
                } | {
                    type: "hangup";
                } | undefined;
                risk_scorer?: {
                    type: "operator";
                } | {
                    type: "forward";
                } | {
                    type: "hangup";
                } | undefined;
            } | null | undefined;
            id: string;
            is_active: boolean;
            is_system?: boolean | undefined;
            keyterms: string[];
            name: string;
            safety_filters_enabled?: boolean | undefined;
            tags: {
                key: string;
                value?: string | null | undefined;
            }[];
            tool_capacity: number;
            updated_at: string;
            version_sets: {
                [x: string]: {
                    agent_version_number?: number | null | undefined;
                    context_graph_version_number?: number | null | undefined;
                    llm_model_preferences?: {
                        [x: string]: {
                            experience_controls?: {
                                frequency_penalty?: number | null | undefined;
                                logit_bias?: {
                                    [x: string]: number;
                                } | null | undefined;
                                logprobs?: boolean | null | undefined;
                                metadata?: {
                                    [x: string]: string;
                                } | null | undefined;
                                parallel_tool_calls?: boolean | null | undefined;
                                presence_penalty?: number | null | undefined;
                                prompt_cache_key?: string | null | undefined;
                                prompt_cache_retention?: ("in-memory" | "24h") | null | undefined;
                                reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh") | null | undefined;
                                response_format?: {
                                    [x: string]: unknown;
                                } | null | undefined;
                                safety_identifier?: string | null | undefined;
                                seed?: number | null | undefined;
                                service_tier?: string | null | undefined;
                                stop?: string | string[] | null | undefined;
                                store?: boolean | null | undefined;
                                temperature?: number | null | undefined;
                                top_logprobs?: number | null | undefined;
                                top_p?: number | null | undefined;
                                verbosity?: ("low" | "medium" | "high") | null | undefined;
                            } | null | undefined;
                            llm_name: string;
                            params?: {
                                [x: string]: unknown;
                            } | undefined;
                        };
                    } | undefined;
                    turn_runtime?: "native" | "openai-agents" | undefined;
                };
            };
            voice_config?: {
                backchannel_delay_ms?: number | undefined;
                barge_in_cooldown_s?: number | null | undefined;
                barge_in_min_speech_s?: number | null | undefined;
                eager_eot_threshold?: number | null | undefined;
                empathy_hold_ms?: number | null | undefined;
                eot_timeout_ms?: number | null | undefined;
                filler_cooldown_ms?: number | null | undefined;
                filler_style?: "backchannel" | "phrase" | "silent" | undefined;
                filler_vocabulary?: string[] | null | undefined;
                forward_call_enabled?: boolean | undefined;
                forwarding?: {
                    forward_to: components["schemas"]["PhoneE164"];
                    should_disconnect?: boolean | undefined;
                    warm_transfer?: boolean | undefined;
                } | null | undefined;
                language_providers?: {
                    [x: string]: {
                        config?: {
                            [x: string]: unknown;
                        } | undefined;
                        provider: "cartesia" | "elevenlabs" | "groq";
                    };
                } | null | undefined;
                max_buffer_delay_ms?: number | null | undefined;
                max_response_sentences?: number | null | undefined;
                max_response_words?: number | null | undefined;
                min_tts_speed?: number | null | undefined;
                post_eot_pause_ms?: number | null | undefined;
                progress_interval_ms?: number | null | undefined;
                progress_vocabulary?: string[] | null | undefined;
                session_provider?: ("inhouse" | "openai_realtime" | "atlas") | null | undefined;
                transition_deadline_ms?: number | null | undefined;
                tts_config?: {
                    [x: string]: unknown;
                } | null | undefined;
                tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
                tts_provider?: ("cartesia" | "elevenlabs" | "groq") | null | undefined;
            } | null | undefined;
            workspace_id: string;
        }[];
        total?: number | null | undefined;
    } & import("../index.js").ResponseMetadata>;
    listAutoPaging(params?: ListServicesParams): AsyncGenerator<{
        agent_id: string;
        agent_name?: string | null | undefined;
        channel_type?: "voice" | "text" | undefined;
        context_graph_id: string;
        context_graph_name?: string | null | undefined;
        created_at: string;
        description: string;
        environment?: "sandbox" | "production" | undefined;
        escalation_policy?: {
            context_window_exhaustion?: {
                type: "operator";
            } | {
                type: "forward";
            } | {
                type: "hangup";
            } | undefined;
            conversation_monitor?: {
                type: "operator";
            } | {
                type: "forward";
            } | {
                type: "hangup";
            } | undefined;
            risk_scorer?: {
                type: "operator";
            } | {
                type: "forward";
            } | {
                type: "hangup";
            } | undefined;
        } | null | undefined;
        id: string;
        is_active: boolean;
        is_system?: boolean | undefined;
        keyterms: string[];
        name: string;
        safety_filters_enabled?: boolean | undefined;
        tags: {
            key: string;
            value?: string | null | undefined;
        }[];
        tool_capacity: number;
        updated_at: string;
        version_sets: {
            [x: string]: {
                agent_version_number?: number | null | undefined;
                context_graph_version_number?: number | null | undefined;
                llm_model_preferences?: {
                    [x: string]: {
                        experience_controls?: {
                            frequency_penalty?: number | null | undefined;
                            logit_bias?: {
                                [x: string]: number;
                            } | null | undefined;
                            logprobs?: boolean | null | undefined;
                            metadata?: {
                                [x: string]: string;
                            } | null | undefined;
                            parallel_tool_calls?: boolean | null | undefined;
                            presence_penalty?: number | null | undefined;
                            prompt_cache_key?: string | null | undefined;
                            prompt_cache_retention?: ("in-memory" | "24h") | null | undefined;
                            reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh") | null | undefined;
                            response_format?: {
                                [x: string]: unknown;
                            } | null | undefined;
                            safety_identifier?: string | null | undefined;
                            seed?: number | null | undefined;
                            service_tier?: string | null | undefined;
                            stop?: string | string[] | null | undefined;
                            store?: boolean | null | undefined;
                            temperature?: number | null | undefined;
                            top_logprobs?: number | null | undefined;
                            top_p?: number | null | undefined;
                            verbosity?: ("low" | "medium" | "high") | null | undefined;
                        } | null | undefined;
                        llm_name: string;
                        params?: {
                            [x: string]: unknown;
                        } | undefined;
                    };
                } | undefined;
                turn_runtime?: "native" | "openai-agents" | undefined;
            };
        };
        voice_config?: {
            backchannel_delay_ms?: number | undefined;
            barge_in_cooldown_s?: number | null | undefined;
            barge_in_min_speech_s?: number | null | undefined;
            eager_eot_threshold?: number | null | undefined;
            empathy_hold_ms?: number | null | undefined;
            eot_timeout_ms?: number | null | undefined;
            filler_cooldown_ms?: number | null | undefined;
            filler_style?: "backchannel" | "phrase" | "silent" | undefined;
            filler_vocabulary?: string[] | null | undefined;
            forward_call_enabled?: boolean | undefined;
            forwarding?: {
                forward_to: components["schemas"]["PhoneE164"];
                should_disconnect?: boolean | undefined;
                warm_transfer?: boolean | undefined;
            } | null | undefined;
            language_providers?: {
                [x: string]: {
                    config?: {
                        [x: string]: unknown;
                    } | undefined;
                    provider: "cartesia" | "elevenlabs" | "groq";
                };
            } | null | undefined;
            max_buffer_delay_ms?: number | null | undefined;
            max_response_sentences?: number | null | undefined;
            max_response_words?: number | null | undefined;
            min_tts_speed?: number | null | undefined;
            post_eot_pause_ms?: number | null | undefined;
            progress_interval_ms?: number | null | undefined;
            progress_vocabulary?: string[] | null | undefined;
            session_provider?: ("inhouse" | "openai_realtime" | "atlas") | null | undefined;
            transition_deadline_ms?: number | null | undefined;
            tts_config?: {
                [x: string]: unknown;
            } | null | undefined;
            tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
            tts_provider?: ("cartesia" | "elevenlabs" | "groq") | null | undefined;
        } | null | undefined;
        workspace_id: string;
    }, any, any>;
    get(serviceId: ServiceId | string): Promise<{
        agent_id: string;
        agent_name?: string | null | undefined;
        channel_type?: "voice" | "text" | undefined;
        context_graph_id: string;
        context_graph_name?: string | null | undefined;
        created_at: string;
        description: string;
        environment?: "sandbox" | "production" | undefined;
        escalation_policy?: {
            context_window_exhaustion?: {
                type: "operator";
            } | {
                type: "forward";
            } | {
                type: "hangup";
            } | undefined;
            conversation_monitor?: {
                type: "operator";
            } | {
                type: "forward";
            } | {
                type: "hangup";
            } | undefined;
            risk_scorer?: {
                type: "operator";
            } | {
                type: "forward";
            } | {
                type: "hangup";
            } | undefined;
        } | null | undefined;
        id: string;
        is_active: boolean;
        is_system?: boolean | undefined;
        keyterms: string[];
        name: string;
        safety_filters_enabled?: boolean | undefined;
        tags: {
            key: string;
            value?: string | null | undefined;
        }[];
        tool_capacity: number;
        updated_at: string;
        version_sets: {
            [x: string]: {
                agent_version_number?: number | null | undefined;
                context_graph_version_number?: number | null | undefined;
                llm_model_preferences?: {
                    [x: string]: {
                        experience_controls?: {
                            frequency_penalty?: number | null | undefined;
                            logit_bias?: {
                                [x: string]: number;
                            } | null | undefined;
                            logprobs?: boolean | null | undefined;
                            metadata?: {
                                [x: string]: string;
                            } | null | undefined;
                            parallel_tool_calls?: boolean | null | undefined;
                            presence_penalty?: number | null | undefined;
                            prompt_cache_key?: string | null | undefined;
                            prompt_cache_retention?: ("in-memory" | "24h") | null | undefined;
                            reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh") | null | undefined;
                            response_format?: {
                                [x: string]: unknown;
                            } | null | undefined;
                            safety_identifier?: string | null | undefined;
                            seed?: number | null | undefined;
                            service_tier?: string | null | undefined;
                            stop?: string | string[] | null | undefined;
                            store?: boolean | null | undefined;
                            temperature?: number | null | undefined;
                            top_logprobs?: number | null | undefined;
                            top_p?: number | null | undefined;
                            verbosity?: ("low" | "medium" | "high") | null | undefined;
                        } | null | undefined;
                        llm_name: string;
                        params?: {
                            [x: string]: unknown;
                        } | undefined;
                    };
                } | undefined;
                turn_runtime?: "native" | "openai-agents" | undefined;
            };
        };
        voice_config?: {
            backchannel_delay_ms?: number | undefined;
            barge_in_cooldown_s?: number | null | undefined;
            barge_in_min_speech_s?: number | null | undefined;
            eager_eot_threshold?: number | null | undefined;
            empathy_hold_ms?: number | null | undefined;
            eot_timeout_ms?: number | null | undefined;
            filler_cooldown_ms?: number | null | undefined;
            filler_style?: "backchannel" | "phrase" | "silent" | undefined;
            filler_vocabulary?: string[] | null | undefined;
            forward_call_enabled?: boolean | undefined;
            forwarding?: {
                forward_to: components["schemas"]["PhoneE164"];
                should_disconnect?: boolean | undefined;
                warm_transfer?: boolean | undefined;
            } | null | undefined;
            language_providers?: {
                [x: string]: {
                    config?: {
                        [x: string]: unknown;
                    } | undefined;
                    provider: "cartesia" | "elevenlabs" | "groq";
                };
            } | null | undefined;
            max_buffer_delay_ms?: number | null | undefined;
            max_response_sentences?: number | null | undefined;
            max_response_words?: number | null | undefined;
            min_tts_speed?: number | null | undefined;
            post_eot_pause_ms?: number | null | undefined;
            progress_interval_ms?: number | null | undefined;
            progress_vocabulary?: string[] | null | undefined;
            session_provider?: ("inhouse" | "openai_realtime" | "atlas") | null | undefined;
            transition_deadline_ms?: number | null | undefined;
            tts_config?: {
                [x: string]: unknown;
            } | null | undefined;
            tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
            tts_provider?: ("cartesia" | "elevenlabs" | "groq") | null | undefined;
        } | null | undefined;
        workspace_id: string;
    } & import("../index.js").ResponseMetadata>;
    update(serviceId: ServiceId | string, body: components['schemas']['UpdateServiceRequest']): Promise<{
        agent_id: string;
        agent_name?: string | null | undefined;
        channel_type?: "voice" | "text" | undefined;
        context_graph_id: string;
        context_graph_name?: string | null | undefined;
        created_at: string;
        description: string;
        environment?: "sandbox" | "production" | undefined;
        escalation_policy?: {
            context_window_exhaustion?: {
                type: "operator";
            } | {
                type: "forward";
            } | {
                type: "hangup";
            } | undefined;
            conversation_monitor?: {
                type: "operator";
            } | {
                type: "forward";
            } | {
                type: "hangup";
            } | undefined;
            risk_scorer?: {
                type: "operator";
            } | {
                type: "forward";
            } | {
                type: "hangup";
            } | undefined;
        } | null | undefined;
        id: string;
        is_active: boolean;
        is_system?: boolean | undefined;
        keyterms: string[];
        name: string;
        safety_filters_enabled?: boolean | undefined;
        tags: {
            key: string;
            value?: string | null | undefined;
        }[];
        tool_capacity: number;
        updated_at: string;
        version_sets: {
            [x: string]: {
                agent_version_number?: number | null | undefined;
                context_graph_version_number?: number | null | undefined;
                llm_model_preferences?: {
                    [x: string]: {
                        experience_controls?: {
                            frequency_penalty?: number | null | undefined;
                            logit_bias?: {
                                [x: string]: number;
                            } | null | undefined;
                            logprobs?: boolean | null | undefined;
                            metadata?: {
                                [x: string]: string;
                            } | null | undefined;
                            parallel_tool_calls?: boolean | null | undefined;
                            presence_penalty?: number | null | undefined;
                            prompt_cache_key?: string | null | undefined;
                            prompt_cache_retention?: ("in-memory" | "24h") | null | undefined;
                            reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh") | null | undefined;
                            response_format?: {
                                [x: string]: unknown;
                            } | null | undefined;
                            safety_identifier?: string | null | undefined;
                            seed?: number | null | undefined;
                            service_tier?: string | null | undefined;
                            stop?: string | string[] | null | undefined;
                            store?: boolean | null | undefined;
                            temperature?: number | null | undefined;
                            top_logprobs?: number | null | undefined;
                            top_p?: number | null | undefined;
                            verbosity?: ("low" | "medium" | "high") | null | undefined;
                        } | null | undefined;
                        llm_name: string;
                        params?: {
                            [x: string]: unknown;
                        } | undefined;
                    };
                } | undefined;
                turn_runtime?: "native" | "openai-agents" | undefined;
            };
        };
        voice_config?: {
            backchannel_delay_ms?: number | undefined;
            barge_in_cooldown_s?: number | null | undefined;
            barge_in_min_speech_s?: number | null | undefined;
            eager_eot_threshold?: number | null | undefined;
            empathy_hold_ms?: number | null | undefined;
            eot_timeout_ms?: number | null | undefined;
            filler_cooldown_ms?: number | null | undefined;
            filler_style?: "backchannel" | "phrase" | "silent" | undefined;
            filler_vocabulary?: string[] | null | undefined;
            forward_call_enabled?: boolean | undefined;
            forwarding?: {
                forward_to: components["schemas"]["PhoneE164"];
                should_disconnect?: boolean | undefined;
                warm_transfer?: boolean | undefined;
            } | null | undefined;
            language_providers?: {
                [x: string]: {
                    config?: {
                        [x: string]: unknown;
                    } | undefined;
                    provider: "cartesia" | "elevenlabs" | "groq";
                };
            } | null | undefined;
            max_buffer_delay_ms?: number | null | undefined;
            max_response_sentences?: number | null | undefined;
            max_response_words?: number | null | undefined;
            min_tts_speed?: number | null | undefined;
            post_eot_pause_ms?: number | null | undefined;
            progress_interval_ms?: number | null | undefined;
            progress_vocabulary?: string[] | null | undefined;
            session_provider?: ("inhouse" | "openai_realtime" | "atlas") | null | undefined;
            transition_deadline_ms?: number | null | undefined;
            tts_config?: {
                [x: string]: unknown;
            } | null | undefined;
            tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
            tts_provider?: ("cartesia" | "elevenlabs" | "groq") | null | undefined;
        } | null | undefined;
        workspace_id: string;
    } & import("../index.js").ResponseMetadata>;
    delete(serviceId: ServiceId | string): Promise<void>;
}
//# sourceMappingURL=services.d.ts.map