import type { components } from '../generated/api.js';
import type { AgentId } from '../core/branded-types.js';
import { WorkspaceScopedResource } from './base.js';
import type { ListParams } from '../core/utils.js';
export interface ListAgentsParams extends ListParams {
    search?: string;
}
export declare class AgentsResource extends WorkspaceScopedResource {
    create(body: components['schemas']['CreateAgentRequest']): Promise<{
        created_at: string;
        description: string;
        id: string;
        latest_version?: number | undefined;
        name: string;
        updated_at: string;
        workspace_id: string;
    } & import("../index.js").ResponseMetadata>;
    list(params?: ListAgentsParams): Promise<{
        continuation_token?: number | null | undefined;
        has_more: boolean;
        items: {
            created_at: string;
            description: string;
            id: string;
            latest_version?: number | undefined;
            name: string;
            updated_at: string;
            workspace_id: string;
        }[];
        total?: number | null | undefined;
    } & import("../index.js").ResponseMetadata>;
    listAutoPaging(params?: ListAgentsParams): AsyncGenerator<{
        created_at: string;
        description: string;
        id: string;
        latest_version?: number | undefined;
        name: string;
        updated_at: string;
        workspace_id: string;
    }, any, any>;
    get(agentId: AgentId | string): Promise<{
        created_at: string;
        description: string;
        id: string;
        latest_version?: number | undefined;
        name: string;
        updated_at: string;
        workspace_id: string;
    } & import("../index.js").ResponseMetadata>;
    update(agentId: AgentId | string, body: components['schemas']['UpdateAgentRequest']): Promise<{
        created_at: string;
        description: string;
        id: string;
        latest_version?: number | undefined;
        name: string;
        updated_at: string;
        workspace_id: string;
    } & import("../index.js").ResponseMetadata>;
    delete(agentId: AgentId | string): Promise<void>;
    listVersions(agentId: AgentId | string, params?: ListParams): Promise<{
        continuation_token?: number | null | undefined;
        has_more: boolean;
        items: {
            agent_id: string;
            background: string;
            behaviors: string[];
            communication_patterns: string[];
            created_at: string;
            id: string;
            identity: {
                default_spoken_language: string;
                developed_by: string;
                name: string;
                relationship_to_developer?: {
                    conversation_visibility: string;
                    ownership: string;
                    thought_visibility: string;
                    type: string;
                } | undefined;
                role: string;
            };
            initials: string;
            name: string;
            updated_at: string;
            version: number;
            voice_config: {
                language_providers?: {
                    [x: string]: {
                        config?: {
                            [x: string]: unknown;
                        } | undefined;
                        provider: "cartesia" | "elevenlabs" | "groq";
                    };
                } | null | undefined;
                similarity_boost?: number | undefined;
                stability?: number | undefined;
                style?: number | undefined;
                tts_config?: {
                    [x: string]: unknown;
                } | null | undefined;
                tts_provider?: ("cartesia" | "elevenlabs" | "groq") | null | undefined;
                voice_id: string;
            } | null;
            workspace_id: string;
        }[];
        total?: number | null | undefined;
    } & import("../index.js").ResponseMetadata>;
    listVersionsAutoPaging(agentId: AgentId | string, params?: ListParams): AsyncGenerator<{
        agent_id: string;
        background: string;
        behaviors: string[];
        communication_patterns: string[];
        created_at: string;
        id: string;
        identity: {
            default_spoken_language: string;
            developed_by: string;
            name: string;
            relationship_to_developer?: {
                conversation_visibility: string;
                ownership: string;
                thought_visibility: string;
                type: string;
            } | undefined;
            role: string;
        };
        initials: string;
        name: string;
        updated_at: string;
        version: number;
        voice_config: {
            language_providers?: {
                [x: string]: {
                    config?: {
                        [x: string]: unknown;
                    } | undefined;
                    provider: "cartesia" | "elevenlabs" | "groq";
                };
            } | null | undefined;
            similarity_boost?: number | undefined;
            stability?: number | undefined;
            style?: number | undefined;
            tts_config?: {
                [x: string]: unknown;
            } | null | undefined;
            tts_provider?: ("cartesia" | "elevenlabs" | "groq") | null | undefined;
            voice_id: string;
        } | null;
        workspace_id: string;
    }, any, any>;
    getVersion(agentId: AgentId | string, version: number | 'latest'): Promise<{
        agent_id: string;
        background: string;
        behaviors: string[];
        communication_patterns: string[];
        created_at: string;
        id: string;
        identity: {
            default_spoken_language: string;
            developed_by: string;
            name: string;
            relationship_to_developer?: {
                conversation_visibility: string;
                ownership: string;
                thought_visibility: string;
                type: string;
            } | undefined;
            role: string;
        };
        initials: string;
        name: string;
        updated_at: string;
        version: number;
        voice_config: {
            language_providers?: {
                [x: string]: {
                    config?: {
                        [x: string]: unknown;
                    } | undefined;
                    provider: "cartesia" | "elevenlabs" | "groq";
                };
            } | null | undefined;
            similarity_boost?: number | undefined;
            stability?: number | undefined;
            style?: number | undefined;
            tts_config?: {
                [x: string]: unknown;
            } | null | undefined;
            tts_provider?: ("cartesia" | "elevenlabs" | "groq") | null | undefined;
            voice_id: string;
        } | null;
        workspace_id: string;
    } & import("../index.js").ResponseMetadata>;
    createVersion(agentId: AgentId | string, body: components['schemas']['CreateAgentVersionRequest']): Promise<{
        agent_id: string;
        background: string;
        behaviors: string[];
        communication_patterns: string[];
        created_at: string;
        id: string;
        identity: {
            default_spoken_language: string;
            developed_by: string;
            name: string;
            relationship_to_developer?: {
                conversation_visibility: string;
                ownership: string;
                thought_visibility: string;
                type: string;
            } | undefined;
            role: string;
        };
        initials: string;
        name: string;
        updated_at: string;
        version: number;
        voice_config: {
            language_providers?: {
                [x: string]: {
                    config?: {
                        [x: string]: unknown;
                    } | undefined;
                    provider: "cartesia" | "elevenlabs" | "groq";
                };
            } | null | undefined;
            similarity_boost?: number | undefined;
            stability?: number | undefined;
            style?: number | undefined;
            tts_config?: {
                [x: string]: unknown;
            } | null | undefined;
            tts_provider?: ("cartesia" | "elevenlabs" | "groq") | null | undefined;
            voice_id: string;
        } | null;
        workspace_id: string;
    } & import("../index.js").ResponseMetadata>;
}
//# sourceMappingURL=agents.d.ts.map