import type { components } from '../generated/api.js';
import type { ContextGraphId } from '../core/branded-types.js';
import { WorkspaceScopedResource } from './base.js';
import type { ListParams } from '../core/utils.js';
export interface ListContextGraphsParams extends ListParams {
    search?: string;
}
/**
 * Manage context graphs — structured conversation flow definitions (HSM).
 * Context graphs define the states, transitions, and conditions that
 * govern how an agent moves through a conversation.
 */
export declare class ContextGraphsResource extends WorkspaceScopedResource {
    create(body: components['schemas']['CreateContextGraphRequest']): Promise<{
        created_at: string;
        description: string;
        id: string;
        latest_version?: number | undefined;
        name: string;
        state_count?: number | undefined;
        updated_at: string;
        workspace_id: string;
    } & import("../index.js").ResponseMetadata>;
    list(params?: ListContextGraphsParams): Promise<{
        continuation_token?: number | null | undefined;
        has_more: boolean;
        items: {
            created_at: string;
            description: string;
            id: string;
            latest_version?: number | undefined;
            name: string;
            state_count?: number | undefined;
            updated_at: string;
            workspace_id: string;
        }[];
        total?: number | null | undefined;
    } & import("../index.js").ResponseMetadata>;
    listAutoPaging(params?: ListContextGraphsParams): AsyncGenerator<{
        created_at: string;
        description: string;
        id: string;
        latest_version?: number | undefined;
        name: string;
        state_count?: number | undefined;
        updated_at: string;
        workspace_id: string;
    }, any, any>;
    get(contextGraphId: ContextGraphId | string): Promise<{
        created_at: string;
        description: string;
        id: string;
        latest_version?: number | undefined;
        name: string;
        state_count?: number | undefined;
        updated_at: string;
        workspace_id: string;
    } & import("../index.js").ResponseMetadata>;
    update(contextGraphId: ContextGraphId | string, body: components['schemas']['UpdateContextGraphRequest']): Promise<{
        created_at: string;
        description: string;
        id: string;
        latest_version?: number | undefined;
        name: string;
        state_count?: number | undefined;
        updated_at: string;
        workspace_id: string;
    } & import("../index.js").ResponseMetadata>;
    delete(contextGraphId: ContextGraphId | string): Promise<void>;
    /** Create a version snapshot of the current context graph */
    createVersion(contextGraphId: ContextGraphId | string, body: components['schemas']['CreateContextGraphVersionRequest']): Promise<{
        context_graph_id: string;
        created_at: string;
        description: string;
        global_action_guidelines: string[];
        global_boundary_constraints: string[];
        global_intra_state_navigation_guidelines: string[];
        id: string;
        new_user_initial_state: string;
        returning_user_initial_state: string;
        states: ({
            action_guidelines: string[];
            action_tool_call_specs?: {
                additional_instruction?: string | undefined;
                audio_filler_triggered_after?: number | null | undefined;
                audio_fillers?: string[] | null | undefined;
                navigate_on_completion?: boolean | undefined;
                progress?: {
                    custom_phrase?: string | null | undefined;
                    deterministic?: boolean | undefined;
                    expected_latency_ms?: number | null | undefined;
                    interval_ms?: number | null | undefined;
                    mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                    phrases?: string[] | null | undefined;
                    progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                    trigger_delay_ms?: number | null | undefined;
                } | null | undefined;
                result_persistence?: "accumulate" | "override" | undefined;
                tool_id: string;
            }[] | undefined;
            actions: {
                description: string;
                filler_hint?: string | null | undefined;
            }[];
            boundary_constraints: string[];
            channel_overrides?: {
                [x: string]: {
                    action_guidelines?: string[] | undefined;
                    objective?: string | null | undefined;
                    progress?: {
                        custom_phrase?: string | null | undefined;
                        deterministic?: boolean | undefined;
                        expected_latency_ms?: number | null | undefined;
                        interval_ms?: number | null | undefined;
                        mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                        phrases?: string[] | null | undefined;
                        progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                        trigger_delay_ms?: number | null | undefined;
                    } | null | undefined;
                };
            } | undefined;
            escalation_config?: {
                auto_escalate_threshold?: number | null | undefined;
                max_loop_count?: number | undefined;
                operator_skill?: string | null | undefined;
                topic_risk_score?: number | undefined;
            } | null | undefined;
            exit_condition_tool_call_specs?: {
                additional_instruction?: string | undefined;
                audio_filler_triggered_after?: number | null | undefined;
                audio_fillers?: string[] | null | undefined;
                navigate_on_completion?: boolean | undefined;
                progress?: {
                    custom_phrase?: string | null | undefined;
                    deterministic?: boolean | undefined;
                    expected_latency_ms?: number | null | undefined;
                    interval_ms?: number | null | undefined;
                    mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                    phrases?: string[] | null | undefined;
                    progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                    trigger_delay_ms?: number | null | undefined;
                } | null | undefined;
                result_persistence?: "accumulate" | "override" | undefined;
                tool_id: string;
            }[] | undefined;
            exit_conditions: {
                description: string;
                filler_hint?: string | null | undefined;
                next_state: string;
            }[];
            guardrails?: {
                description: string;
                enforcement?: "hard" | "soft" | undefined;
                name: string;
            }[] | undefined;
            intra_state_navigation_guidelines: string[];
            name: string;
            objective: string;
            surface_spec_template?: {
                [x: string]: unknown;
            } | null | undefined;
            turn_policy?: {
                barge_in_enabled?: boolean | undefined;
                block_forward_call?: boolean | undefined;
                block_forward_call_after_turns?: number | undefined;
                context_strategy?: "full" | "summarize" | "compact" | undefined;
                degradation_threshold?: number | undefined;
                greeting_shield_s?: number | undefined;
                safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
                stt_eager_eot_threshold?: number | null | undefined;
                stt_eot_threshold?: number | null | undefined;
                stt_eot_timeout_ms?: number | null | undefined;
            } | null | undefined;
            type: "action";
            wait_for?: ("surface_submission" | "human_approval") | null | undefined;
        } | {
            inner_thought: string;
            name: string;
            next_state: string;
            type: "annotation";
        } | {
            channel_overrides?: {
                [x: string]: {
                    action_guidelines?: string[] | undefined;
                    objective?: string | null | undefined;
                    progress?: {
                        custom_phrase?: string | null | undefined;
                        deterministic?: boolean | undefined;
                        expected_latency_ms?: number | null | undefined;
                        interval_ms?: number | null | undefined;
                        mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                        phrases?: string[] | null | undefined;
                        progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                        trigger_delay_ms?: number | null | undefined;
                    } | null | undefined;
                };
            } | undefined;
            decision_guidelines?: string[] | undefined;
            exit_conditions: {
                description: string;
                filler_hint?: string | null | undefined;
                next_state: string;
            }[];
            guardrails?: {
                description: string;
                enforcement?: "hard" | "soft" | undefined;
                name: string;
            }[] | undefined;
            name: string;
            objective: string;
            tool_call_specs?: {
                additional_instruction?: string | undefined;
                audio_filler_triggered_after?: number | null | undefined;
                audio_fillers?: string[] | null | undefined;
                navigate_on_completion?: boolean | undefined;
                progress?: {
                    custom_phrase?: string | null | undefined;
                    deterministic?: boolean | undefined;
                    expected_latency_ms?: number | null | undefined;
                    interval_ms?: number | null | undefined;
                    mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                    phrases?: string[] | null | undefined;
                    progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                    trigger_delay_ms?: number | null | undefined;
                } | null | undefined;
                result_persistence?: "accumulate" | "override" | undefined;
                tool_id: string;
            }[] | undefined;
            turn_policy?: {
                barge_in_enabled?: boolean | undefined;
                block_forward_call?: boolean | undefined;
                block_forward_call_after_turns?: number | undefined;
                context_strategy?: "full" | "summarize" | "compact" | undefined;
                degradation_threshold?: number | undefined;
                greeting_shield_s?: number | undefined;
                safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
                stt_eager_eot_threshold?: number | null | undefined;
                stt_eot_threshold?: number | null | undefined;
                stt_eot_timeout_ms?: number | null | undefined;
            } | null | undefined;
            type: "decision";
            wait_for?: ("surface_submission" | "human_approval") | null | undefined;
        } | {
            action_guidelines?: string[] | undefined;
            boundary_constraints?: string[] | undefined;
            channel_overrides?: {
                [x: string]: {
                    action_guidelines?: string[] | undefined;
                    objective?: string | null | undefined;
                    progress?: {
                        custom_phrase?: string | null | undefined;
                        deterministic?: boolean | undefined;
                        expected_latency_ms?: number | null | undefined;
                        interval_ms?: number | null | undefined;
                        mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                        phrases?: string[] | null | undefined;
                        progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                        trigger_delay_ms?: number | null | undefined;
                    } | null | undefined;
                };
            } | undefined;
            fields: {
                ask_prompt?: string | null | undefined;
                fhir_path?: string | null | undefined;
                key: string;
                label: string;
                options?: string[] | null | undefined;
                required?: boolean | undefined;
                type: string;
                validation?: string | null | undefined;
            }[];
            guardrails?: {
                description: string;
                enforcement?: "hard" | "soft" | undefined;
                name: string;
            }[] | undefined;
            max_turns?: number | undefined;
            name: string;
            objective: string;
            on_complete: string;
            surface_fallback?: boolean | undefined;
            surface_fallback_after_turns?: number | undefined;
            tool_call_specs?: {
                additional_instruction?: string | undefined;
                audio_filler_triggered_after?: number | null | undefined;
                audio_fillers?: string[] | null | undefined;
                navigate_on_completion?: boolean | undefined;
                progress?: {
                    custom_phrase?: string | null | undefined;
                    deterministic?: boolean | undefined;
                    expected_latency_ms?: number | null | undefined;
                    interval_ms?: number | null | undefined;
                    mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                    phrases?: string[] | null | undefined;
                    progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                    trigger_delay_ms?: number | null | undefined;
                } | null | undefined;
                result_persistence?: "accumulate" | "override" | undefined;
                tool_id: string;
            }[] | undefined;
            turn_policy?: {
                barge_in_enabled?: boolean | undefined;
                block_forward_call?: boolean | undefined;
                block_forward_call_after_turns?: number | undefined;
                context_strategy?: "full" | "summarize" | "compact" | undefined;
                degradation_threshold?: number | undefined;
                greeting_shield_s?: number | undefined;
                safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
                stt_eager_eot_threshold?: number | null | undefined;
                stt_eot_threshold?: number | null | undefined;
                stt_eot_timeout_ms?: number | null | undefined;
            } | null | undefined;
            type: "data_collection";
        })[];
        terminal_state: string;
        topology_description: string | null;
        updated_at: string;
        version: number;
        workspace_id: string;
    } & import("../index.js").ResponseMetadata>;
    /** List all versions of a context graph */
    listVersions(contextGraphId: ContextGraphId | string, params?: ListParams): Promise<{
        continuation_token?: number | null | undefined;
        has_more: boolean;
        items: {
            context_graph_id: string;
            created_at: string;
            description: string;
            global_action_guidelines: string[];
            global_boundary_constraints: string[];
            global_intra_state_navigation_guidelines: string[];
            id: string;
            new_user_initial_state: string;
            returning_user_initial_state: string;
            states: ({
                action_guidelines: string[];
                action_tool_call_specs?: {
                    additional_instruction?: string | undefined;
                    audio_filler_triggered_after?: number | null | undefined;
                    audio_fillers?: string[] | null | undefined;
                    navigate_on_completion?: boolean | undefined;
                    progress?: {
                        custom_phrase?: string | null | undefined;
                        deterministic?: boolean | undefined;
                        expected_latency_ms?: number | null | undefined;
                        interval_ms?: number | null | undefined;
                        mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                        phrases?: string[] | null | undefined;
                        progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                        trigger_delay_ms?: number | null | undefined;
                    } | null | undefined;
                    result_persistence?: "accumulate" | "override" | undefined;
                    tool_id: string;
                }[] | undefined;
                actions: {
                    description: string;
                    filler_hint?: string | null | undefined;
                }[];
                boundary_constraints: string[];
                channel_overrides?: {
                    [x: string]: {
                        action_guidelines?: string[] | undefined;
                        objective?: string | null | undefined;
                        progress?: {
                            custom_phrase?: string | null | undefined;
                            deterministic?: boolean | undefined;
                            expected_latency_ms?: number | null | undefined;
                            interval_ms?: number | null | undefined;
                            mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                            phrases?: string[] | null | undefined;
                            progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                            trigger_delay_ms?: number | null | undefined;
                        } | null | undefined;
                    };
                } | undefined;
                escalation_config?: {
                    auto_escalate_threshold?: number | null | undefined;
                    max_loop_count?: number | undefined;
                    operator_skill?: string | null | undefined;
                    topic_risk_score?: number | undefined;
                } | null | undefined;
                exit_condition_tool_call_specs?: {
                    additional_instruction?: string | undefined;
                    audio_filler_triggered_after?: number | null | undefined;
                    audio_fillers?: string[] | null | undefined;
                    navigate_on_completion?: boolean | undefined;
                    progress?: {
                        custom_phrase?: string | null | undefined;
                        deterministic?: boolean | undefined;
                        expected_latency_ms?: number | null | undefined;
                        interval_ms?: number | null | undefined;
                        mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                        phrases?: string[] | null | undefined;
                        progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                        trigger_delay_ms?: number | null | undefined;
                    } | null | undefined;
                    result_persistence?: "accumulate" | "override" | undefined;
                    tool_id: string;
                }[] | undefined;
                exit_conditions: {
                    description: string;
                    filler_hint?: string | null | undefined;
                    next_state: string;
                }[];
                guardrails?: {
                    description: string;
                    enforcement?: "hard" | "soft" | undefined;
                    name: string;
                }[] | undefined;
                intra_state_navigation_guidelines: string[];
                name: string;
                objective: string;
                surface_spec_template?: {
                    [x: string]: unknown;
                } | null | undefined;
                turn_policy?: {
                    barge_in_enabled?: boolean | undefined;
                    block_forward_call?: boolean | undefined;
                    block_forward_call_after_turns?: number | undefined;
                    context_strategy?: "full" | "summarize" | "compact" | undefined;
                    degradation_threshold?: number | undefined;
                    greeting_shield_s?: number | undefined;
                    safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
                    stt_eager_eot_threshold?: number | null | undefined;
                    stt_eot_threshold?: number | null | undefined;
                    stt_eot_timeout_ms?: number | null | undefined;
                } | null | undefined;
                type: "action";
                wait_for?: ("surface_submission" | "human_approval") | null | undefined;
            } | {
                inner_thought: string;
                name: string;
                next_state: string;
                type: "annotation";
            } | {
                channel_overrides?: {
                    [x: string]: {
                        action_guidelines?: string[] | undefined;
                        objective?: string | null | undefined;
                        progress?: {
                            custom_phrase?: string | null | undefined;
                            deterministic?: boolean | undefined;
                            expected_latency_ms?: number | null | undefined;
                            interval_ms?: number | null | undefined;
                            mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                            phrases?: string[] | null | undefined;
                            progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                            trigger_delay_ms?: number | null | undefined;
                        } | null | undefined;
                    };
                } | undefined;
                decision_guidelines?: string[] | undefined;
                exit_conditions: {
                    description: string;
                    filler_hint?: string | null | undefined;
                    next_state: string;
                }[];
                guardrails?: {
                    description: string;
                    enforcement?: "hard" | "soft" | undefined;
                    name: string;
                }[] | undefined;
                name: string;
                objective: string;
                tool_call_specs?: {
                    additional_instruction?: string | undefined;
                    audio_filler_triggered_after?: number | null | undefined;
                    audio_fillers?: string[] | null | undefined;
                    navigate_on_completion?: boolean | undefined;
                    progress?: {
                        custom_phrase?: string | null | undefined;
                        deterministic?: boolean | undefined;
                        expected_latency_ms?: number | null | undefined;
                        interval_ms?: number | null | undefined;
                        mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                        phrases?: string[] | null | undefined;
                        progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                        trigger_delay_ms?: number | null | undefined;
                    } | null | undefined;
                    result_persistence?: "accumulate" | "override" | undefined;
                    tool_id: string;
                }[] | undefined;
                turn_policy?: {
                    barge_in_enabled?: boolean | undefined;
                    block_forward_call?: boolean | undefined;
                    block_forward_call_after_turns?: number | undefined;
                    context_strategy?: "full" | "summarize" | "compact" | undefined;
                    degradation_threshold?: number | undefined;
                    greeting_shield_s?: number | undefined;
                    safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
                    stt_eager_eot_threshold?: number | null | undefined;
                    stt_eot_threshold?: number | null | undefined;
                    stt_eot_timeout_ms?: number | null | undefined;
                } | null | undefined;
                type: "decision";
                wait_for?: ("surface_submission" | "human_approval") | null | undefined;
            } | {
                action_guidelines?: string[] | undefined;
                boundary_constraints?: string[] | undefined;
                channel_overrides?: {
                    [x: string]: {
                        action_guidelines?: string[] | undefined;
                        objective?: string | null | undefined;
                        progress?: {
                            custom_phrase?: string | null | undefined;
                            deterministic?: boolean | undefined;
                            expected_latency_ms?: number | null | undefined;
                            interval_ms?: number | null | undefined;
                            mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                            phrases?: string[] | null | undefined;
                            progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                            trigger_delay_ms?: number | null | undefined;
                        } | null | undefined;
                    };
                } | undefined;
                fields: {
                    ask_prompt?: string | null | undefined;
                    fhir_path?: string | null | undefined;
                    key: string;
                    label: string;
                    options?: string[] | null | undefined;
                    required?: boolean | undefined;
                    type: string;
                    validation?: string | null | undefined;
                }[];
                guardrails?: {
                    description: string;
                    enforcement?: "hard" | "soft" | undefined;
                    name: string;
                }[] | undefined;
                max_turns?: number | undefined;
                name: string;
                objective: string;
                on_complete: string;
                surface_fallback?: boolean | undefined;
                surface_fallback_after_turns?: number | undefined;
                tool_call_specs?: {
                    additional_instruction?: string | undefined;
                    audio_filler_triggered_after?: number | null | undefined;
                    audio_fillers?: string[] | null | undefined;
                    navigate_on_completion?: boolean | undefined;
                    progress?: {
                        custom_phrase?: string | null | undefined;
                        deterministic?: boolean | undefined;
                        expected_latency_ms?: number | null | undefined;
                        interval_ms?: number | null | undefined;
                        mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                        phrases?: string[] | null | undefined;
                        progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                        trigger_delay_ms?: number | null | undefined;
                    } | null | undefined;
                    result_persistence?: "accumulate" | "override" | undefined;
                    tool_id: string;
                }[] | undefined;
                turn_policy?: {
                    barge_in_enabled?: boolean | undefined;
                    block_forward_call?: boolean | undefined;
                    block_forward_call_after_turns?: number | undefined;
                    context_strategy?: "full" | "summarize" | "compact" | undefined;
                    degradation_threshold?: number | undefined;
                    greeting_shield_s?: number | undefined;
                    safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
                    stt_eager_eot_threshold?: number | null | undefined;
                    stt_eot_threshold?: number | null | undefined;
                    stt_eot_timeout_ms?: number | null | undefined;
                } | null | undefined;
                type: "data_collection";
            })[];
            terminal_state: string;
            topology_description: string | null;
            updated_at: string;
            version: number;
            workspace_id: string;
        }[];
        total?: number | null | undefined;
    } & import("../index.js").ResponseMetadata>;
    listVersionsAutoPaging(contextGraphId: ContextGraphId | string, params?: ListParams): AsyncGenerator<{
        context_graph_id: string;
        created_at: string;
        description: string;
        global_action_guidelines: string[];
        global_boundary_constraints: string[];
        global_intra_state_navigation_guidelines: string[];
        id: string;
        new_user_initial_state: string;
        returning_user_initial_state: string;
        states: ({
            action_guidelines: string[];
            action_tool_call_specs?: {
                additional_instruction?: string | undefined;
                audio_filler_triggered_after?: number | null | undefined;
                audio_fillers?: string[] | null | undefined;
                navigate_on_completion?: boolean | undefined;
                progress?: {
                    custom_phrase?: string | null | undefined;
                    deterministic?: boolean | undefined;
                    expected_latency_ms?: number | null | undefined;
                    interval_ms?: number | null | undefined;
                    mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                    phrases?: string[] | null | undefined;
                    progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                    trigger_delay_ms?: number | null | undefined;
                } | null | undefined;
                result_persistence?: "accumulate" | "override" | undefined;
                tool_id: string;
            }[] | undefined;
            actions: {
                description: string;
                filler_hint?: string | null | undefined;
            }[];
            boundary_constraints: string[];
            channel_overrides?: {
                [x: string]: {
                    action_guidelines?: string[] | undefined;
                    objective?: string | null | undefined;
                    progress?: {
                        custom_phrase?: string | null | undefined;
                        deterministic?: boolean | undefined;
                        expected_latency_ms?: number | null | undefined;
                        interval_ms?: number | null | undefined;
                        mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                        phrases?: string[] | null | undefined;
                        progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                        trigger_delay_ms?: number | null | undefined;
                    } | null | undefined;
                };
            } | undefined;
            escalation_config?: {
                auto_escalate_threshold?: number | null | undefined;
                max_loop_count?: number | undefined;
                operator_skill?: string | null | undefined;
                topic_risk_score?: number | undefined;
            } | null | undefined;
            exit_condition_tool_call_specs?: {
                additional_instruction?: string | undefined;
                audio_filler_triggered_after?: number | null | undefined;
                audio_fillers?: string[] | null | undefined;
                navigate_on_completion?: boolean | undefined;
                progress?: {
                    custom_phrase?: string | null | undefined;
                    deterministic?: boolean | undefined;
                    expected_latency_ms?: number | null | undefined;
                    interval_ms?: number | null | undefined;
                    mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                    phrases?: string[] | null | undefined;
                    progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                    trigger_delay_ms?: number | null | undefined;
                } | null | undefined;
                result_persistence?: "accumulate" | "override" | undefined;
                tool_id: string;
            }[] | undefined;
            exit_conditions: {
                description: string;
                filler_hint?: string | null | undefined;
                next_state: string;
            }[];
            guardrails?: {
                description: string;
                enforcement?: "hard" | "soft" | undefined;
                name: string;
            }[] | undefined;
            intra_state_navigation_guidelines: string[];
            name: string;
            objective: string;
            surface_spec_template?: {
                [x: string]: unknown;
            } | null | undefined;
            turn_policy?: {
                barge_in_enabled?: boolean | undefined;
                block_forward_call?: boolean | undefined;
                block_forward_call_after_turns?: number | undefined;
                context_strategy?: "full" | "summarize" | "compact" | undefined;
                degradation_threshold?: number | undefined;
                greeting_shield_s?: number | undefined;
                safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
                stt_eager_eot_threshold?: number | null | undefined;
                stt_eot_threshold?: number | null | undefined;
                stt_eot_timeout_ms?: number | null | undefined;
            } | null | undefined;
            type: "action";
            wait_for?: ("surface_submission" | "human_approval") | null | undefined;
        } | {
            inner_thought: string;
            name: string;
            next_state: string;
            type: "annotation";
        } | {
            channel_overrides?: {
                [x: string]: {
                    action_guidelines?: string[] | undefined;
                    objective?: string | null | undefined;
                    progress?: {
                        custom_phrase?: string | null | undefined;
                        deterministic?: boolean | undefined;
                        expected_latency_ms?: number | null | undefined;
                        interval_ms?: number | null | undefined;
                        mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                        phrases?: string[] | null | undefined;
                        progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                        trigger_delay_ms?: number | null | undefined;
                    } | null | undefined;
                };
            } | undefined;
            decision_guidelines?: string[] | undefined;
            exit_conditions: {
                description: string;
                filler_hint?: string | null | undefined;
                next_state: string;
            }[];
            guardrails?: {
                description: string;
                enforcement?: "hard" | "soft" | undefined;
                name: string;
            }[] | undefined;
            name: string;
            objective: string;
            tool_call_specs?: {
                additional_instruction?: string | undefined;
                audio_filler_triggered_after?: number | null | undefined;
                audio_fillers?: string[] | null | undefined;
                navigate_on_completion?: boolean | undefined;
                progress?: {
                    custom_phrase?: string | null | undefined;
                    deterministic?: boolean | undefined;
                    expected_latency_ms?: number | null | undefined;
                    interval_ms?: number | null | undefined;
                    mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                    phrases?: string[] | null | undefined;
                    progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                    trigger_delay_ms?: number | null | undefined;
                } | null | undefined;
                result_persistence?: "accumulate" | "override" | undefined;
                tool_id: string;
            }[] | undefined;
            turn_policy?: {
                barge_in_enabled?: boolean | undefined;
                block_forward_call?: boolean | undefined;
                block_forward_call_after_turns?: number | undefined;
                context_strategy?: "full" | "summarize" | "compact" | undefined;
                degradation_threshold?: number | undefined;
                greeting_shield_s?: number | undefined;
                safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
                stt_eager_eot_threshold?: number | null | undefined;
                stt_eot_threshold?: number | null | undefined;
                stt_eot_timeout_ms?: number | null | undefined;
            } | null | undefined;
            type: "decision";
            wait_for?: ("surface_submission" | "human_approval") | null | undefined;
        } | {
            action_guidelines?: string[] | undefined;
            boundary_constraints?: string[] | undefined;
            channel_overrides?: {
                [x: string]: {
                    action_guidelines?: string[] | undefined;
                    objective?: string | null | undefined;
                    progress?: {
                        custom_phrase?: string | null | undefined;
                        deterministic?: boolean | undefined;
                        expected_latency_ms?: number | null | undefined;
                        interval_ms?: number | null | undefined;
                        mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                        phrases?: string[] | null | undefined;
                        progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                        trigger_delay_ms?: number | null | undefined;
                    } | null | undefined;
                };
            } | undefined;
            fields: {
                ask_prompt?: string | null | undefined;
                fhir_path?: string | null | undefined;
                key: string;
                label: string;
                options?: string[] | null | undefined;
                required?: boolean | undefined;
                type: string;
                validation?: string | null | undefined;
            }[];
            guardrails?: {
                description: string;
                enforcement?: "hard" | "soft" | undefined;
                name: string;
            }[] | undefined;
            max_turns?: number | undefined;
            name: string;
            objective: string;
            on_complete: string;
            surface_fallback?: boolean | undefined;
            surface_fallback_after_turns?: number | undefined;
            tool_call_specs?: {
                additional_instruction?: string | undefined;
                audio_filler_triggered_after?: number | null | undefined;
                audio_fillers?: string[] | null | undefined;
                navigate_on_completion?: boolean | undefined;
                progress?: {
                    custom_phrase?: string | null | undefined;
                    deterministic?: boolean | undefined;
                    expected_latency_ms?: number | null | undefined;
                    interval_ms?: number | null | undefined;
                    mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                    phrases?: string[] | null | undefined;
                    progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                    trigger_delay_ms?: number | null | undefined;
                } | null | undefined;
                result_persistence?: "accumulate" | "override" | undefined;
                tool_id: string;
            }[] | undefined;
            turn_policy?: {
                barge_in_enabled?: boolean | undefined;
                block_forward_call?: boolean | undefined;
                block_forward_call_after_turns?: number | undefined;
                context_strategy?: "full" | "summarize" | "compact" | undefined;
                degradation_threshold?: number | undefined;
                greeting_shield_s?: number | undefined;
                safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
                stt_eager_eot_threshold?: number | null | undefined;
                stt_eot_threshold?: number | null | undefined;
                stt_eot_timeout_ms?: number | null | undefined;
            } | null | undefined;
            type: "data_collection";
        })[];
        terminal_state: string;
        topology_description: string | null;
        updated_at: string;
        version: number;
        workspace_id: string;
    }, any, any>;
    /** Get a specific version by number, or pass "latest" for the most recent */
    getVersion(contextGraphId: ContextGraphId | string, version: number | 'latest'): Promise<{
        context_graph_id: string;
        created_at: string;
        description: string;
        global_action_guidelines: string[];
        global_boundary_constraints: string[];
        global_intra_state_navigation_guidelines: string[];
        id: string;
        new_user_initial_state: string;
        returning_user_initial_state: string;
        states: ({
            action_guidelines: string[];
            action_tool_call_specs?: {
                additional_instruction?: string | undefined;
                audio_filler_triggered_after?: number | null | undefined;
                audio_fillers?: string[] | null | undefined;
                navigate_on_completion?: boolean | undefined;
                progress?: {
                    custom_phrase?: string | null | undefined;
                    deterministic?: boolean | undefined;
                    expected_latency_ms?: number | null | undefined;
                    interval_ms?: number | null | undefined;
                    mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                    phrases?: string[] | null | undefined;
                    progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                    trigger_delay_ms?: number | null | undefined;
                } | null | undefined;
                result_persistence?: "accumulate" | "override" | undefined;
                tool_id: string;
            }[] | undefined;
            actions: {
                description: string;
                filler_hint?: string | null | undefined;
            }[];
            boundary_constraints: string[];
            channel_overrides?: {
                [x: string]: {
                    action_guidelines?: string[] | undefined;
                    objective?: string | null | undefined;
                    progress?: {
                        custom_phrase?: string | null | undefined;
                        deterministic?: boolean | undefined;
                        expected_latency_ms?: number | null | undefined;
                        interval_ms?: number | null | undefined;
                        mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                        phrases?: string[] | null | undefined;
                        progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                        trigger_delay_ms?: number | null | undefined;
                    } | null | undefined;
                };
            } | undefined;
            escalation_config?: {
                auto_escalate_threshold?: number | null | undefined;
                max_loop_count?: number | undefined;
                operator_skill?: string | null | undefined;
                topic_risk_score?: number | undefined;
            } | null | undefined;
            exit_condition_tool_call_specs?: {
                additional_instruction?: string | undefined;
                audio_filler_triggered_after?: number | null | undefined;
                audio_fillers?: string[] | null | undefined;
                navigate_on_completion?: boolean | undefined;
                progress?: {
                    custom_phrase?: string | null | undefined;
                    deterministic?: boolean | undefined;
                    expected_latency_ms?: number | null | undefined;
                    interval_ms?: number | null | undefined;
                    mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                    phrases?: string[] | null | undefined;
                    progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                    trigger_delay_ms?: number | null | undefined;
                } | null | undefined;
                result_persistence?: "accumulate" | "override" | undefined;
                tool_id: string;
            }[] | undefined;
            exit_conditions: {
                description: string;
                filler_hint?: string | null | undefined;
                next_state: string;
            }[];
            guardrails?: {
                description: string;
                enforcement?: "hard" | "soft" | undefined;
                name: string;
            }[] | undefined;
            intra_state_navigation_guidelines: string[];
            name: string;
            objective: string;
            surface_spec_template?: {
                [x: string]: unknown;
            } | null | undefined;
            turn_policy?: {
                barge_in_enabled?: boolean | undefined;
                block_forward_call?: boolean | undefined;
                block_forward_call_after_turns?: number | undefined;
                context_strategy?: "full" | "summarize" | "compact" | undefined;
                degradation_threshold?: number | undefined;
                greeting_shield_s?: number | undefined;
                safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
                stt_eager_eot_threshold?: number | null | undefined;
                stt_eot_threshold?: number | null | undefined;
                stt_eot_timeout_ms?: number | null | undefined;
            } | null | undefined;
            type: "action";
            wait_for?: ("surface_submission" | "human_approval") | null | undefined;
        } | {
            inner_thought: string;
            name: string;
            next_state: string;
            type: "annotation";
        } | {
            channel_overrides?: {
                [x: string]: {
                    action_guidelines?: string[] | undefined;
                    objective?: string | null | undefined;
                    progress?: {
                        custom_phrase?: string | null | undefined;
                        deterministic?: boolean | undefined;
                        expected_latency_ms?: number | null | undefined;
                        interval_ms?: number | null | undefined;
                        mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                        phrases?: string[] | null | undefined;
                        progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                        trigger_delay_ms?: number | null | undefined;
                    } | null | undefined;
                };
            } | undefined;
            decision_guidelines?: string[] | undefined;
            exit_conditions: {
                description: string;
                filler_hint?: string | null | undefined;
                next_state: string;
            }[];
            guardrails?: {
                description: string;
                enforcement?: "hard" | "soft" | undefined;
                name: string;
            }[] | undefined;
            name: string;
            objective: string;
            tool_call_specs?: {
                additional_instruction?: string | undefined;
                audio_filler_triggered_after?: number | null | undefined;
                audio_fillers?: string[] | null | undefined;
                navigate_on_completion?: boolean | undefined;
                progress?: {
                    custom_phrase?: string | null | undefined;
                    deterministic?: boolean | undefined;
                    expected_latency_ms?: number | null | undefined;
                    interval_ms?: number | null | undefined;
                    mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                    phrases?: string[] | null | undefined;
                    progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                    trigger_delay_ms?: number | null | undefined;
                } | null | undefined;
                result_persistence?: "accumulate" | "override" | undefined;
                tool_id: string;
            }[] | undefined;
            turn_policy?: {
                barge_in_enabled?: boolean | undefined;
                block_forward_call?: boolean | undefined;
                block_forward_call_after_turns?: number | undefined;
                context_strategy?: "full" | "summarize" | "compact" | undefined;
                degradation_threshold?: number | undefined;
                greeting_shield_s?: number | undefined;
                safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
                stt_eager_eot_threshold?: number | null | undefined;
                stt_eot_threshold?: number | null | undefined;
                stt_eot_timeout_ms?: number | null | undefined;
            } | null | undefined;
            type: "decision";
            wait_for?: ("surface_submission" | "human_approval") | null | undefined;
        } | {
            action_guidelines?: string[] | undefined;
            boundary_constraints?: string[] | undefined;
            channel_overrides?: {
                [x: string]: {
                    action_guidelines?: string[] | undefined;
                    objective?: string | null | undefined;
                    progress?: {
                        custom_phrase?: string | null | undefined;
                        deterministic?: boolean | undefined;
                        expected_latency_ms?: number | null | undefined;
                        interval_ms?: number | null | undefined;
                        mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                        phrases?: string[] | null | undefined;
                        progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                        trigger_delay_ms?: number | null | undefined;
                    } | null | undefined;
                };
            } | undefined;
            fields: {
                ask_prompt?: string | null | undefined;
                fhir_path?: string | null | undefined;
                key: string;
                label: string;
                options?: string[] | null | undefined;
                required?: boolean | undefined;
                type: string;
                validation?: string | null | undefined;
            }[];
            guardrails?: {
                description: string;
                enforcement?: "hard" | "soft" | undefined;
                name: string;
            }[] | undefined;
            max_turns?: number | undefined;
            name: string;
            objective: string;
            on_complete: string;
            surface_fallback?: boolean | undefined;
            surface_fallback_after_turns?: number | undefined;
            tool_call_specs?: {
                additional_instruction?: string | undefined;
                audio_filler_triggered_after?: number | null | undefined;
                audio_fillers?: string[] | null | undefined;
                navigate_on_completion?: boolean | undefined;
                progress?: {
                    custom_phrase?: string | null | undefined;
                    deterministic?: boolean | undefined;
                    expected_latency_ms?: number | null | undefined;
                    interval_ms?: number | null | undefined;
                    mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
                    phrases?: string[] | null | undefined;
                    progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
                    trigger_delay_ms?: number | null | undefined;
                } | null | undefined;
                result_persistence?: "accumulate" | "override" | undefined;
                tool_id: string;
            }[] | undefined;
            turn_policy?: {
                barge_in_enabled?: boolean | undefined;
                block_forward_call?: boolean | undefined;
                block_forward_call_after_turns?: number | undefined;
                context_strategy?: "full" | "summarize" | "compact" | undefined;
                degradation_threshold?: number | undefined;
                greeting_shield_s?: number | undefined;
                safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
                stt_eager_eot_threshold?: number | null | undefined;
                stt_eot_threshold?: number | null | undefined;
                stt_eot_timeout_ms?: number | null | undefined;
            } | null | undefined;
            type: "data_collection";
        })[];
        terminal_state: string;
        topology_description: string | null;
        updated_at: string;
        version: number;
        workspace_id: string;
    } & import("../index.js").ResponseMetadata>;
}
//# sourceMappingURL=context-graphs.d.ts.map