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" | "scribe" | undefined;
        context_graph_id: string;
        context_graph_name?: string | null | undefined;
        created_at: string;
        description: string;
        environment?: "sandbox" | "production" | undefined;
        id: string;
        is_active: boolean;
        is_system?: boolean | undefined;
        keyterms: string[];
        name: string;
        persona_id?: string | null | undefined;
        persona_name?: string | null | undefined;
        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]: {
                        llm_name: string;
                        params?: {
                            [x: string]: unknown;
                        } | undefined;
                    };
                } | 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;
            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;
            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" | "scribe" | undefined;
            context_graph_id: string;
            context_graph_name?: string | null | undefined;
            created_at: string;
            description: string;
            environment?: "sandbox" | "production" | undefined;
            id: string;
            is_active: boolean;
            is_system?: boolean | undefined;
            keyterms: string[];
            name: string;
            persona_id?: string | null | undefined;
            persona_name?: string | null | undefined;
            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]: {
                            llm_name: string;
                            params?: {
                                [x: string]: unknown;
                            } | undefined;
                        };
                    } | 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;
                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;
                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" | "scribe" | undefined;
        context_graph_id: string;
        context_graph_name?: string | null | undefined;
        created_at: string;
        description: string;
        environment?: "sandbox" | "production" | undefined;
        id: string;
        is_active: boolean;
        is_system?: boolean | undefined;
        keyterms: string[];
        name: string;
        persona_id?: string | null | undefined;
        persona_name?: string | null | undefined;
        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]: {
                        llm_name: string;
                        params?: {
                            [x: string]: unknown;
                        } | undefined;
                    };
                } | 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;
            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;
            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" | "scribe" | undefined;
        context_graph_id: string;
        context_graph_name?: string | null | undefined;
        created_at: string;
        description: string;
        environment?: "sandbox" | "production" | undefined;
        id: string;
        is_active: boolean;
        is_system?: boolean | undefined;
        keyterms: string[];
        name: string;
        persona_id?: string | null | undefined;
        persona_name?: string | null | undefined;
        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]: {
                        llm_name: string;
                        params?: {
                            [x: string]: unknown;
                        } | undefined;
                    };
                } | 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;
            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;
            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" | "scribe" | undefined;
        context_graph_id: string;
        context_graph_name?: string | null | undefined;
        created_at: string;
        description: string;
        environment?: "sandbox" | "production" | undefined;
        id: string;
        is_active: boolean;
        is_system?: boolean | undefined;
        keyterms: string[];
        name: string;
        persona_id?: string | null | undefined;
        persona_name?: string | null | undefined;
        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]: {
                        llm_name: string;
                        params?: {
                            [x: string]: unknown;
                        } | undefined;
                    };
                } | 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;
            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;
            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