/**
 * Cloudflare AISEARCH API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service aisearch
 */
import * as Schema from "effect/Schema";
import type * as HttpClient from "effect/unstable/http/HttpClient";
import * as API from "../client/api.ts";
import type { Credentials } from "../credentials.ts";
import { type DefaultErrors } from "../errors.ts";
declare const InvalidRoute_base: Schema.Class<InvalidRoute, Schema.TaggedStruct<"InvalidRoute", {
    readonly code: Schema.Number;
    readonly message: Schema.String;
}>, import("effect/Cause").YieldableError>;
export declare class InvalidRoute extends InvalidRoute_base {
}
declare const NotFound_base: Schema.Class<NotFound, Schema.TaggedStruct<"NotFound", {
    readonly code: Schema.Number;
    readonly message: Schema.String;
}>, import("effect/Cause").YieldableError>;
export declare class NotFound extends NotFound_base {
}
declare const SyncInCooldown_base: Schema.Class<SyncInCooldown, Schema.TaggedStruct<"SyncInCooldown", {
    readonly code: Schema.Number;
    readonly message: Schema.String;
}>, import("effect/Cause").YieldableError>;
export declare class SyncInCooldown extends SyncInCooldown_base {
}
declare const UnableToConnect_base: Schema.Class<UnableToConnect, Schema.TaggedStruct<"UnableToConnect", {
    readonly code: Schema.Number;
    readonly message: Schema.String;
}>, import("effect/Cause").YieldableError>;
export declare class UnableToConnect extends UnableToConnect_base {
}
declare const ValidationError_base: Schema.Class<ValidationError, Schema.TaggedStruct<"ValidationError", {
    readonly code: Schema.Number;
    readonly message: Schema.String;
}>, import("effect/Cause").YieldableError>;
export declare class ValidationError extends ValidationError_base {
}
export interface ListInstancesRequest {
    /** Path param: */
    accountId: string;
    page?: number;
    perPage?: number;
    /** Query param: Search by id */
    search?: string;
}
export declare const ListInstancesRequest: Schema.Schema<ListInstancesRequest>;
export interface ListInstancesResponse {
    result: {
        id: string;
        accountId?: string | null;
        accountTag?: string | null;
        createdAt?: string | null;
        internalId?: string | null;
        modifiedAt?: string | null;
        source?: string | null;
        tokenId?: string | null;
        type?: "r2" | "web-crawler" | null;
        vectorizeName?: string | null;
        aiGatewayId?: string | null;
        aiSearchModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "" | null;
        cache?: boolean | null;
        cacheThreshold?: "super_strict_match" | "close_enough" | "flexible_friend" | "anything_goes" | null;
        chunk?: boolean | null;
        chunkOverlap?: number | null;
        chunkSize?: number | null;
        createdBy?: string | null;
        embeddingModel?: "@cf/baai/bge-m3" | "@cf/baai/bge-large-en-v1.5" | "@cf/google/embeddinggemma-300m" | "@cf/qwen/qwen3-embedding-0.6b" | "google-ai-studio/gemini-embedding-001" | "openai/text-embedding-3-small" | "openai/text-embedding-3-large" | "" | null;
        enable?: boolean | null;
        engineVersion?: number | null;
        hybridSearchEnabled?: boolean | null;
        lastActivity?: string | null;
        maxNumResults?: number | null;
        metadata?: {
            createdFromAisearchWizard?: boolean | null;
            workerDomain?: string | null;
        } | null;
        modifiedBy?: string | null;
        paused?: boolean | null;
        publicEndpointId?: string | null;
        publicEndpointParams?: {
            authorizedHosts?: string[] | null;
            chatCompletionsEndpoint?: {
                disabled?: boolean | null;
            } | null;
            enabled?: boolean | null;
            mcp?: {
                disabled?: boolean | null;
            } | null;
            rateLimit?: {
                periodMs?: number | null;
                requests?: number | null;
                technique?: "fixed" | "sliding" | null;
            } | null;
            searchEndpoint?: {
                disabled?: boolean | null;
            } | null;
        } | null;
        reranking?: boolean | null;
        rerankingModel?: "@cf/baai/bge-reranker-base" | "" | null;
        rewriteModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "" | null;
        rewriteQuery?: boolean | null;
        scoreThreshold?: number | null;
        sourceParams?: {
            excludeItems?: string[] | null;
            includeItems?: string[] | null;
            prefix?: string | null;
            r2Jurisdiction?: string | null;
            webCrawler?: {
                parseOptions?: {
                    includeHeaders?: Record<string, unknown> | null;
                    includeImages?: boolean | null;
                    useBrowserRendering?: boolean | null;
                } | null;
                parseType?: "sitemap" | "feed-rss" | null;
                storeOptions?: {
                    storageId: string;
                    r2Jurisdiction?: string | null;
                    storageType?: "r2" | null;
                } | null;
            } | null;
        } | null;
        status?: string | null;
        summarization?: boolean | null;
        summarizationModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "" | null;
        systemPromptAiSearch?: string | null;
        systemPromptIndexSummarization?: string | null;
        systemPromptRewriteQuery?: string | null;
        vectorizeActiveNamespace?: string | null;
    }[];
    resultInfo?: {
        count?: number | null;
        page?: number | null;
        perPage?: number | null;
        totalCount?: number | null;
    } | null;
}
export declare const ListInstancesResponse: Schema.Schema<ListInstancesResponse>;
export type ListInstancesError = DefaultErrors | InvalidRoute;
export declare const listInstances: API.PaginatedOperationMethod<ListInstancesRequest, ListInstancesResponse, ListInstancesError, Credentials | HttpClient.HttpClient>;
export interface CreateInstanceRequest {
    /** Path param: */
    accountId: string;
    /** Body param: Use your AI Search ID. */
    id: string;
    /** Body param: */
    source: string;
    /** Body param: */
    tokenId: string;
    /** Body param: */
    type: "r2" | "web-crawler";
    /** Body param: */
    aiGatewayId?: string;
    /** Body param: */
    aiSearchModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "";
    /** Body param: */
    chunk?: boolean;
    /** Body param: */
    chunkOverlap?: number;
    /** Body param: */
    chunkSize?: number;
    /** Body param: */
    embeddingModel?: "@cf/baai/bge-m3" | "@cf/baai/bge-large-en-v1.5" | "@cf/google/embeddinggemma-300m" | "@cf/qwen/qwen3-embedding-0.6b" | "google-ai-studio/gemini-embedding-001" | "openai/text-embedding-3-small" | "openai/text-embedding-3-large" | "";
    /** Body param: */
    hybridSearchEnabled?: boolean;
    /** Body param: */
    maxNumResults?: number;
    /** Body param: */
    metadata?: {
        createdFromAisearchWizard?: boolean;
        workerDomain?: string;
    };
    /** Body param: */
    publicEndpointParams?: {
        authorizedHosts?: string[];
        chatCompletionsEndpoint?: {
            disabled?: boolean;
        };
        enabled?: boolean;
        mcp?: {
            disabled?: boolean;
        };
        rateLimit?: {
            periodMs?: number;
            requests?: number;
            technique?: "fixed" | "sliding";
        };
        searchEndpoint?: {
            disabled?: boolean;
        };
    };
    /** Body param: */
    reranking?: boolean;
    /** Body param: */
    rerankingModel?: "@cf/baai/bge-reranker-base" | "";
    /** Body param: */
    rewriteModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "";
    /** Body param: */
    rewriteQuery?: boolean;
    /** Body param: */
    scoreThreshold?: number;
    /** Body param: */
    sourceParams?: {
        excludeItems?: string[];
        includeItems?: string[];
        prefix?: string;
        r2Jurisdiction?: string;
        webCrawler?: {
            parseOptions?: {
                includeHeaders?: Record<string, unknown>;
                includeImages?: boolean;
                useBrowserRendering?: boolean;
            };
            parseType?: "sitemap" | "feed-rss";
            storeOptions?: {
                storageId: string;
                r2Jurisdiction?: string;
                storageType?: "r2";
            };
        };
    };
}
export declare const CreateInstanceRequest: Schema.Schema<CreateInstanceRequest>;
export interface CreateInstanceResponse {
    /** Use your AI Search ID. */
    id: string;
    accountId?: string | null;
    accountTag?: string | null;
    createdAt?: string | null;
    internalId?: string | null;
    modifiedAt?: string | null;
    source?: string | null;
    tokenId?: string | null;
    type?: "r2" | "web-crawler" | null;
    vectorizeName?: string | null;
    aiGatewayId?: string | null;
    aiSearchModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "" | null;
    cache?: boolean | null;
    cacheThreshold?: "super_strict_match" | "close_enough" | "flexible_friend" | "anything_goes" | null;
    chunk?: boolean | null;
    chunkOverlap?: number | null;
    chunkSize?: number | null;
    createdBy?: string | null;
    embeddingModel?: "@cf/baai/bge-m3" | "@cf/baai/bge-large-en-v1.5" | "@cf/google/embeddinggemma-300m" | "@cf/qwen/qwen3-embedding-0.6b" | "google-ai-studio/gemini-embedding-001" | "openai/text-embedding-3-small" | "openai/text-embedding-3-large" | "" | null;
    enable?: boolean | null;
    engineVersion?: number | null;
    hybridSearchEnabled?: boolean | null;
    lastActivity?: string | null;
    maxNumResults?: number | null;
    metadata?: {
        createdFromAisearchWizard?: boolean | null;
        workerDomain?: string | null;
    } | null;
    modifiedBy?: string | null;
    paused?: boolean | null;
    publicEndpointId?: string | null;
    publicEndpointParams?: {
        authorizedHosts?: string[] | null;
        chatCompletionsEndpoint?: {
            disabled?: boolean | null;
        } | null;
        enabled?: boolean | null;
        mcp?: {
            disabled?: boolean | null;
        } | null;
        rateLimit?: {
            periodMs?: number | null;
            requests?: number | null;
            technique?: "fixed" | "sliding" | null;
        } | null;
        searchEndpoint?: {
            disabled?: boolean | null;
        } | null;
    } | null;
    reranking?: boolean | null;
    rerankingModel?: "@cf/baai/bge-reranker-base" | "" | null;
    rewriteModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "" | null;
    rewriteQuery?: boolean | null;
    scoreThreshold?: number | null;
    sourceParams?: {
        excludeItems?: string[] | null;
        includeItems?: string[] | null;
        prefix?: string | null;
        r2Jurisdiction?: string | null;
        webCrawler?: {
            parseOptions?: {
                includeHeaders?: Record<string, unknown> | null;
                includeImages?: boolean | null;
                useBrowserRendering?: boolean | null;
            } | null;
            parseType?: "sitemap" | "feed-rss" | null;
            storeOptions?: {
                storageId: string;
                r2Jurisdiction?: string | null;
                storageType?: "r2" | null;
            } | null;
        } | null;
    } | null;
    status?: string | null;
    summarization?: boolean | null;
    summarizationModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "" | null;
    systemPromptAiSearch?: string | null;
    systemPromptIndexSummarization?: string | null;
    systemPromptRewriteQuery?: string | null;
    vectorizeActiveNamespace?: string | null;
}
export declare const CreateInstanceResponse: Schema.Schema<CreateInstanceResponse>;
export type CreateInstanceError = DefaultErrors | ValidationError | NotFound | InvalidRoute;
export declare const createInstance: API.OperationMethod<CreateInstanceRequest, CreateInstanceResponse, CreateInstanceError, Credentials | HttpClient.HttpClient>;
export interface UpdateInstanceRequest {
    id: string;
    /** Path param: */
    accountId: string;
    /** Body param: */
    aiGatewayId?: string;
    /** Body param: */
    aiSearchModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "";
    /** Body param: */
    cache?: boolean;
    /** Body param: */
    cacheThreshold?: "super_strict_match" | "close_enough" | "flexible_friend" | "anything_goes";
    /** Body param: */
    chunk?: boolean;
    /** Body param: */
    chunkOverlap?: number;
    /** Body param: */
    chunkSize?: number;
    /** Body param: */
    embeddingModel?: "@cf/baai/bge-m3" | "@cf/baai/bge-large-en-v1.5" | "@cf/google/embeddinggemma-300m" | "@cf/qwen/qwen3-embedding-0.6b" | "google-ai-studio/gemini-embedding-001" | "openai/text-embedding-3-small" | "openai/text-embedding-3-large" | "";
    /** Body param: */
    hybridSearchEnabled?: boolean;
    /** Body param: */
    maxNumResults?: number;
    /** Body param: */
    metadata?: {
        createdFromAisearchWizard?: boolean;
        workerDomain?: string;
    };
    /** Body param: */
    paused?: boolean;
    /** Body param: */
    publicEndpointParams?: {
        authorizedHosts?: string[];
        chatCompletionsEndpoint?: {
            disabled?: boolean;
        };
        enabled?: boolean;
        mcp?: {
            disabled?: boolean;
        };
        rateLimit?: {
            periodMs?: number;
            requests?: number;
            technique?: "fixed" | "sliding";
        };
        searchEndpoint?: {
            disabled?: boolean;
        };
    };
    /** Body param: */
    reranking?: boolean;
    /** Body param: */
    rerankingModel?: "@cf/baai/bge-reranker-base" | "";
    /** Body param: */
    rewriteModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "";
    /** Body param: */
    rewriteQuery?: boolean;
    /** Body param: */
    scoreThreshold?: number;
    /** Body param: */
    sourceParams?: {
        excludeItems?: string[];
        includeItems?: string[];
        prefix?: string;
        r2Jurisdiction?: string;
        webCrawler?: {
            parseOptions?: {
                includeHeaders?: Record<string, unknown>;
                includeImages?: boolean;
                useBrowserRendering?: boolean;
            };
            parseType?: "sitemap" | "feed-rss";
            storeOptions?: {
                storageId: string;
                r2Jurisdiction?: string;
                storageType?: "r2";
            };
        };
    };
    /** Body param: */
    summarization?: boolean;
    /** Body param: */
    summarizationModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "";
    /** Body param: */
    systemPromptAiSearch?: string;
    /** Body param: */
    systemPromptIndexSummarization?: string;
    /** Body param: */
    systemPromptRewriteQuery?: string;
    /** Body param: */
    tokenId?: string;
}
export declare const UpdateInstanceRequest: Schema.Schema<UpdateInstanceRequest>;
export interface UpdateInstanceResponse {
    /** Use your AI Search ID. */
    id: string;
    accountId?: string | null;
    accountTag?: string | null;
    createdAt?: string | null;
    internalId?: string | null;
    modifiedAt?: string | null;
    source?: string | null;
    tokenId?: string | null;
    type?: "r2" | "web-crawler" | null;
    vectorizeName?: string | null;
    aiGatewayId?: string | null;
    aiSearchModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "" | null;
    cache?: boolean | null;
    cacheThreshold?: "super_strict_match" | "close_enough" | "flexible_friend" | "anything_goes" | null;
    chunk?: boolean | null;
    chunkOverlap?: number | null;
    chunkSize?: number | null;
    createdBy?: string | null;
    embeddingModel?: "@cf/baai/bge-m3" | "@cf/baai/bge-large-en-v1.5" | "@cf/google/embeddinggemma-300m" | "@cf/qwen/qwen3-embedding-0.6b" | "google-ai-studio/gemini-embedding-001" | "openai/text-embedding-3-small" | "openai/text-embedding-3-large" | "" | null;
    enable?: boolean | null;
    engineVersion?: number | null;
    hybridSearchEnabled?: boolean | null;
    lastActivity?: string | null;
    maxNumResults?: number | null;
    metadata?: {
        createdFromAisearchWizard?: boolean | null;
        workerDomain?: string | null;
    } | null;
    modifiedBy?: string | null;
    paused?: boolean | null;
    publicEndpointId?: string | null;
    publicEndpointParams?: {
        authorizedHosts?: string[] | null;
        chatCompletionsEndpoint?: {
            disabled?: boolean | null;
        } | null;
        enabled?: boolean | null;
        mcp?: {
            disabled?: boolean | null;
        } | null;
        rateLimit?: {
            periodMs?: number | null;
            requests?: number | null;
            technique?: "fixed" | "sliding" | null;
        } | null;
        searchEndpoint?: {
            disabled?: boolean | null;
        } | null;
    } | null;
    reranking?: boolean | null;
    rerankingModel?: "@cf/baai/bge-reranker-base" | "" | null;
    rewriteModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "" | null;
    rewriteQuery?: boolean | null;
    scoreThreshold?: number | null;
    sourceParams?: {
        excludeItems?: string[] | null;
        includeItems?: string[] | null;
        prefix?: string | null;
        r2Jurisdiction?: string | null;
        webCrawler?: {
            parseOptions?: {
                includeHeaders?: Record<string, unknown> | null;
                includeImages?: boolean | null;
                useBrowserRendering?: boolean | null;
            } | null;
            parseType?: "sitemap" | "feed-rss" | null;
            storeOptions?: {
                storageId: string;
                r2Jurisdiction?: string | null;
                storageType?: "r2" | null;
            } | null;
        } | null;
    } | null;
    status?: string | null;
    summarization?: boolean | null;
    summarizationModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "" | null;
    systemPromptAiSearch?: string | null;
    systemPromptIndexSummarization?: string | null;
    systemPromptRewriteQuery?: string | null;
    vectorizeActiveNamespace?: string | null;
}
export declare const UpdateInstanceResponse: Schema.Schema<UpdateInstanceResponse>;
export type UpdateInstanceError = DefaultErrors | ValidationError | NotFound | InvalidRoute;
export declare const updateInstance: API.OperationMethod<UpdateInstanceRequest, UpdateInstanceResponse, UpdateInstanceError, Credentials | HttpClient.HttpClient>;
export interface DeleteInstanceRequest {
    id: string;
    accountId: string;
}
export declare const DeleteInstanceRequest: Schema.Schema<DeleteInstanceRequest>;
export interface DeleteInstanceResponse {
    /** Use your AI Search ID. */
    id: string;
    accountId?: string | null;
    accountTag?: string | null;
    createdAt?: string | null;
    internalId?: string | null;
    modifiedAt?: string | null;
    source?: string | null;
    tokenId?: string | null;
    type?: "r2" | "web-crawler" | null;
    vectorizeName?: string | null;
    aiGatewayId?: string | null;
    aiSearchModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "" | null;
    cache?: boolean | null;
    cacheThreshold?: "super_strict_match" | "close_enough" | "flexible_friend" | "anything_goes" | null;
    chunk?: boolean | null;
    chunkOverlap?: number | null;
    chunkSize?: number | null;
    createdBy?: string | null;
    embeddingModel?: "@cf/baai/bge-m3" | "@cf/baai/bge-large-en-v1.5" | "@cf/google/embeddinggemma-300m" | "@cf/qwen/qwen3-embedding-0.6b" | "google-ai-studio/gemini-embedding-001" | "openai/text-embedding-3-small" | "openai/text-embedding-3-large" | "" | null;
    enable?: boolean | null;
    engineVersion?: number | null;
    hybridSearchEnabled?: boolean | null;
    lastActivity?: string | null;
    maxNumResults?: number | null;
    metadata?: {
        createdFromAisearchWizard?: boolean | null;
        workerDomain?: string | null;
    } | null;
    modifiedBy?: string | null;
    paused?: boolean | null;
    publicEndpointId?: string | null;
    publicEndpointParams?: {
        authorizedHosts?: string[] | null;
        chatCompletionsEndpoint?: {
            disabled?: boolean | null;
        } | null;
        enabled?: boolean | null;
        mcp?: {
            disabled?: boolean | null;
        } | null;
        rateLimit?: {
            periodMs?: number | null;
            requests?: number | null;
            technique?: "fixed" | "sliding" | null;
        } | null;
        searchEndpoint?: {
            disabled?: boolean | null;
        } | null;
    } | null;
    reranking?: boolean | null;
    rerankingModel?: "@cf/baai/bge-reranker-base" | "" | null;
    rewriteModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "" | null;
    rewriteQuery?: boolean | null;
    scoreThreshold?: number | null;
    sourceParams?: {
        excludeItems?: string[] | null;
        includeItems?: string[] | null;
        prefix?: string | null;
        r2Jurisdiction?: string | null;
        webCrawler?: {
            parseOptions?: {
                includeHeaders?: Record<string, unknown> | null;
                includeImages?: boolean | null;
                useBrowserRendering?: boolean | null;
            } | null;
            parseType?: "sitemap" | "feed-rss" | null;
            storeOptions?: {
                storageId: string;
                r2Jurisdiction?: string | null;
                storageType?: "r2" | null;
            } | null;
        } | null;
    } | null;
    status?: string | null;
    summarization?: boolean | null;
    summarizationModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "" | null;
    systemPromptAiSearch?: string | null;
    systemPromptIndexSummarization?: string | null;
    systemPromptRewriteQuery?: string | null;
    vectorizeActiveNamespace?: string | null;
}
export declare const DeleteInstanceResponse: Schema.Schema<DeleteInstanceResponse>;
export type DeleteInstanceError = DefaultErrors | ValidationError | NotFound | InvalidRoute;
export declare const deleteInstance: API.OperationMethod<DeleteInstanceRequest, DeleteInstanceResponse, DeleteInstanceError, Credentials | HttpClient.HttpClient>;
export interface ReadInstanceRequest {
    id: string;
    accountId: string;
}
export declare const ReadInstanceRequest: Schema.Schema<ReadInstanceRequest>;
export interface ReadInstanceResponse {
    /** Use your AI Search ID. */
    id: string;
    accountId?: string | null;
    accountTag?: string | null;
    createdAt?: string | null;
    internalId?: string | null;
    modifiedAt?: string | null;
    source?: string | null;
    tokenId?: string | null;
    type?: "r2" | "web-crawler" | null;
    vectorizeName?: string | null;
    aiGatewayId?: string | null;
    aiSearchModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "" | null;
    cache?: boolean | null;
    cacheThreshold?: "super_strict_match" | "close_enough" | "flexible_friend" | "anything_goes" | null;
    chunk?: boolean | null;
    chunkOverlap?: number | null;
    chunkSize?: number | null;
    createdBy?: string | null;
    embeddingModel?: "@cf/baai/bge-m3" | "@cf/baai/bge-large-en-v1.5" | "@cf/google/embeddinggemma-300m" | "@cf/qwen/qwen3-embedding-0.6b" | "google-ai-studio/gemini-embedding-001" | "openai/text-embedding-3-small" | "openai/text-embedding-3-large" | "" | null;
    enable?: boolean | null;
    engineVersion?: number | null;
    hybridSearchEnabled?: boolean | null;
    lastActivity?: string | null;
    maxNumResults?: number | null;
    metadata?: {
        createdFromAisearchWizard?: boolean | null;
        workerDomain?: string | null;
    } | null;
    modifiedBy?: string | null;
    paused?: boolean | null;
    publicEndpointId?: string | null;
    publicEndpointParams?: {
        authorizedHosts?: string[] | null;
        chatCompletionsEndpoint?: {
            disabled?: boolean | null;
        } | null;
        enabled?: boolean | null;
        mcp?: {
            disabled?: boolean | null;
        } | null;
        rateLimit?: {
            periodMs?: number | null;
            requests?: number | null;
            technique?: "fixed" | "sliding" | null;
        } | null;
        searchEndpoint?: {
            disabled?: boolean | null;
        } | null;
    } | null;
    reranking?: boolean | null;
    rerankingModel?: "@cf/baai/bge-reranker-base" | "" | null;
    rewriteModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "" | null;
    rewriteQuery?: boolean | null;
    scoreThreshold?: number | null;
    sourceParams?: {
        excludeItems?: string[] | null;
        includeItems?: string[] | null;
        prefix?: string | null;
        r2Jurisdiction?: string | null;
        webCrawler?: {
            parseOptions?: {
                includeHeaders?: Record<string, unknown> | null;
                includeImages?: boolean | null;
                useBrowserRendering?: boolean | null;
            } | null;
            parseType?: "sitemap" | "feed-rss" | null;
            storeOptions?: {
                storageId: string;
                r2Jurisdiction?: string | null;
                storageType?: "r2" | null;
            } | null;
        } | null;
    } | null;
    status?: string | null;
    summarization?: boolean | null;
    summarizationModel?: "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.1-8b-instruct-fast" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/moonshotai/kimi-k2-instruct" | "anthropic/claude-3-7-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4" | "anthropic/claude-3-5-haiku" | "cerebras/qwen-3-235b-a22b-instruct" | "cerebras/qwen-3-235b-a22b-thinking" | "cerebras/llama-3.3-70b" | "cerebras/llama-4-maverick-17b-128e-instruct" | "cerebras/llama-4-scout-17b-16e-instruct" | "cerebras/gpt-oss-120b" | "google-ai-studio/gemini-2.5-flash" | "google-ai-studio/gemini-2.5-pro" | "grok/grok-4" | "groq/llama-3.3-70b-versatile" | "groq/llama-3.1-8b-instant" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5-nano" | "" | null;
    systemPromptAiSearch?: string | null;
    systemPromptIndexSummarization?: string | null;
    systemPromptRewriteQuery?: string | null;
    vectorizeActiveNamespace?: string | null;
}
export declare const ReadInstanceResponse: Schema.Schema<ReadInstanceResponse>;
export type ReadInstanceError = DefaultErrors | ValidationError | NotFound | InvalidRoute;
export declare const readInstance: API.OperationMethod<ReadInstanceRequest, ReadInstanceResponse, ReadInstanceError, Credentials | HttpClient.HttpClient>;
export interface StatsInstanceRequest {
    id: string;
    accountId: string;
}
export declare const StatsInstanceRequest: Schema.Schema<StatsInstanceRequest>;
export interface StatsInstanceResponse {
    completed?: number | null;
    error?: number | null;
    fileEmbedErrors?: Record<string, unknown> | null;
    indexSourceErrors?: Record<string, unknown> | null;
    lastActivity?: string | null;
    queued?: number | null;
    running?: number | null;
    skipped?: number | null;
}
export declare const StatsInstanceResponse: Schema.Schema<StatsInstanceResponse>;
export type StatsInstanceError = DefaultErrors | ValidationError | NotFound | InvalidRoute;
export declare const statsInstance: API.OperationMethod<StatsInstanceRequest, StatsInstanceResponse, StatsInstanceError, Credentials | HttpClient.HttpClient>;
export interface GetInstanceItemRequest {
    id: string;
    itemId: string;
    accountId: string;
}
export declare const GetInstanceItemRequest: Schema.Schema<GetInstanceItemRequest>;
export interface GetInstanceItemResponse {
    id: string;
    key: string;
    status: "queued" | "running" | "completed" | "error" | "skipped";
    error?: string | null;
    lastSeenAt?: string | null;
    nextAction?: string | null;
}
export declare const GetInstanceItemResponse: Schema.Schema<GetInstanceItemResponse>;
export type GetInstanceItemError = DefaultErrors | ValidationError | NotFound | InvalidRoute;
export declare const getInstanceItem: API.OperationMethod<GetInstanceItemRequest, GetInstanceItemResponse, GetInstanceItemError, Credentials | HttpClient.HttpClient>;
export interface ListInstanceItemsRequest {
    id: string;
    /** Path param: */
    accountId: string;
    page?: number;
    perPage?: number;
    /** Query param: */
    search?: string;
    /** Query param: */
    status?: "queued" | "running" | "completed" | "error" | "skipped";
}
export declare const ListInstanceItemsRequest: Schema.Schema<ListInstanceItemsRequest>;
export interface ListInstanceItemsResponse {
    result: {
        id: string;
        key: string;
        status: "queued" | "running" | "completed" | "error" | "skipped";
        error?: string | null;
        lastSeenAt?: string | null;
        nextAction?: string | null;
    }[];
    resultInfo?: {
        count?: number | null;
        page?: number | null;
        perPage?: number | null;
        totalCount?: number | null;
    } | null;
}
export declare const ListInstanceItemsResponse: Schema.Schema<ListInstanceItemsResponse>;
export type ListInstanceItemsError = DefaultErrors;
export declare const listInstanceItems: API.PaginatedOperationMethod<ListInstanceItemsRequest, ListInstanceItemsResponse, ListInstanceItemsError, Credentials | HttpClient.HttpClient>;
export interface GetInstanceJobRequest {
    id: string;
    jobId: string;
    accountId: string;
}
export declare const GetInstanceJobRequest: Schema.Schema<GetInstanceJobRequest>;
export interface GetInstanceJobResponse {
    id: string;
    source: "user" | "schedule";
    endReason?: string | null;
    endedAt?: string | null;
    lastSeenAt?: string | null;
    startedAt?: string | null;
}
export declare const GetInstanceJobResponse: Schema.Schema<GetInstanceJobResponse>;
export type GetInstanceJobError = DefaultErrors | ValidationError | NotFound | InvalidRoute;
export declare const getInstanceJob: API.OperationMethod<GetInstanceJobRequest, GetInstanceJobResponse, GetInstanceJobError, Credentials | HttpClient.HttpClient>;
export interface ListInstanceJobsRequest {
    id: string;
    /** Path param: */
    accountId: string;
    page?: number;
    perPage?: number;
}
export declare const ListInstanceJobsRequest: Schema.Schema<ListInstanceJobsRequest>;
export interface ListInstanceJobsResponse {
    result: {
        id: string;
        source: "user" | "schedule";
        endReason?: string | null;
        endedAt?: string | null;
        lastSeenAt?: string | null;
        startedAt?: string | null;
    }[];
    resultInfo?: {
        count?: number | null;
        page?: number | null;
        perPage?: number | null;
        totalCount?: number | null;
    } | null;
}
export declare const ListInstanceJobsResponse: Schema.Schema<ListInstanceJobsResponse>;
export type ListInstanceJobsError = DefaultErrors;
export declare const listInstanceJobs: API.PaginatedOperationMethod<ListInstanceJobsRequest, ListInstanceJobsResponse, ListInstanceJobsError, Credentials | HttpClient.HttpClient>;
export interface CreateInstanceJobRequest {
    id: string;
    accountId: string;
}
export declare const CreateInstanceJobRequest: Schema.Schema<CreateInstanceJobRequest>;
export interface CreateInstanceJobResponse {
    id: string;
    source?: "user" | "schedule" | null;
    endReason?: string | null;
    endedAt?: string | null;
    lastSeenAt?: string | null;
    startedAt?: string | null;
}
export declare const CreateInstanceJobResponse: Schema.Schema<CreateInstanceJobResponse>;
export type CreateInstanceJobError = DefaultErrors | ValidationError | NotFound | InvalidRoute | UnableToConnect | SyncInCooldown;
export declare const createInstanceJob: API.OperationMethod<CreateInstanceJobRequest, CreateInstanceJobResponse, CreateInstanceJobError, Credentials | HttpClient.HttpClient>;
export interface LogsInstanceJobRequest {
    id: string;
    jobId: string;
    /** Path param: */
    accountId: string;
    /** Query param: */
    page?: number;
    /** Query param: */
    perPage?: number;
}
export declare const LogsInstanceJobRequest: Schema.Schema<LogsInstanceJobRequest>;
export type LogsInstanceJobResponse = {
    id: number;
    createdAt: number;
    message: string;
    messageType: number;
}[];
export declare const LogsInstanceJobResponse: Schema.Schema<LogsInstanceJobResponse>;
export type LogsInstanceJobError = DefaultErrors | ValidationError | NotFound | InvalidRoute;
export declare const logsInstanceJob: API.OperationMethod<LogsInstanceJobRequest, LogsInstanceJobResponse, LogsInstanceJobError, Credentials | HttpClient.HttpClient>;
export interface ListTokensRequest {
    /** Path param: */
    accountId: string;
    page?: number;
    perPage?: number;
}
export declare const ListTokensRequest: Schema.Schema<ListTokensRequest>;
export interface ListTokensResponse {
    result: {
        id: string;
        accountId?: string | null;
        accountTag?: string | null;
        cfApiId: string;
        cfApiKey?: string | null;
        createdAt: string;
        modifiedAt: string;
        name: string;
        createdBy?: string | null;
        enabled?: boolean | null;
        legacy?: boolean | null;
        modifiedBy?: string | null;
        syncedAt?: string | null;
    }[];
    resultInfo?: {
        count?: number | null;
        page?: number | null;
        perPage?: number | null;
        totalCount?: number | null;
    } | null;
}
export declare const ListTokensResponse: Schema.Schema<ListTokensResponse>;
export type ListTokensError = DefaultErrors | InvalidRoute;
export declare const listTokens: API.PaginatedOperationMethod<ListTokensRequest, ListTokensResponse, ListTokensError, Credentials | HttpClient.HttpClient>;
export interface CreateTokenRequest {
    /** Path param: */
    accountId: string;
    /** Body param: */
    cfApiId: string;
    /** Body param: */
    cfApiKey: string;
    /** Body param: */
    name: string;
    /** Body param: */
    legacy?: boolean;
}
export declare const CreateTokenRequest: Schema.Schema<CreateTokenRequest>;
export interface CreateTokenResponse {
    id: string;
    accountId?: string | null;
    accountTag?: string | null;
    cfApiId: string;
    cfApiKey?: string | null;
    createdAt: string;
    modifiedAt: string;
    name: string;
    createdBy?: string | null;
    enabled?: boolean | null;
    legacy?: boolean | null;
    modifiedBy?: string | null;
    syncedAt?: string | null;
}
export declare const CreateTokenResponse: Schema.Schema<CreateTokenResponse>;
export type CreateTokenError = DefaultErrors | ValidationError | NotFound | InvalidRoute;
export declare const createToken: API.OperationMethod<CreateTokenRequest, CreateTokenResponse, CreateTokenError, Credentials | HttpClient.HttpClient>;
export interface UpdateTokenRequest {
    id: string;
    accountId: string;
}
export declare const UpdateTokenRequest: Schema.Schema<UpdateTokenRequest>;
export interface UpdateTokenResponse {
    id: string;
    accountId: string;
    accountTag: string;
    cfApiId: string;
    cfApiKey: string;
    createdAt: string;
    modifiedAt: string;
    name: string;
    createdBy?: string | null;
    enabled?: boolean | null;
    legacy?: boolean | null;
    modifiedBy?: string | null;
    syncedAt?: string | null;
}
export declare const UpdateTokenResponse: Schema.Schema<UpdateTokenResponse>;
export type UpdateTokenError = DefaultErrors | ValidationError | NotFound | InvalidRoute;
export declare const updateToken: API.OperationMethod<UpdateTokenRequest, UpdateTokenResponse, UpdateTokenError, Credentials | HttpClient.HttpClient>;
export interface DeleteTokenRequest {
    id: string;
    accountId: string;
}
export declare const DeleteTokenRequest: Schema.Schema<DeleteTokenRequest>;
export interface DeleteTokenResponse {
    id?: string | null;
    accountId?: string | null;
    accountTag?: string | null;
    cfApiId?: string | null;
    cfApiKey?: string | null;
    createdAt?: string | null;
    modifiedAt?: string | null;
    name?: string | null;
    createdBy?: string | null;
    enabled?: boolean | null;
    legacy?: boolean | null;
    modifiedBy?: string | null;
    syncedAt?: string | null;
}
export declare const DeleteTokenResponse: Schema.Schema<DeleteTokenResponse>;
export type DeleteTokenError = DefaultErrors | ValidationError | NotFound | InvalidRoute;
export declare const deleteToken: API.OperationMethod<DeleteTokenRequest, DeleteTokenResponse, DeleteTokenError, Credentials | HttpClient.HttpClient>;
export interface ReadTokenRequest {
    id: string;
    accountId: string;
}
export declare const ReadTokenRequest: Schema.Schema<ReadTokenRequest>;
export interface ReadTokenResponse {
    id?: string | null;
    accountId?: string | null;
    accountTag?: string | null;
    cfApiId?: string | null;
    cfApiKey?: string | null;
    createdAt?: string | null;
    modifiedAt?: string | null;
    name?: string | null;
    createdBy?: string | null;
    enabled?: boolean | null;
    legacy?: boolean | null;
    modifiedBy?: string | null;
    syncedAt?: string | null;
}
export declare const ReadTokenResponse: Schema.Schema<ReadTokenResponse>;
export type ReadTokenError = DefaultErrors | ValidationError | NotFound | InvalidRoute;
export declare const readToken: API.OperationMethod<ReadTokenRequest, ReadTokenResponse, ReadTokenError, Credentials | HttpClient.HttpClient>;
export {};
//# sourceMappingURL=aisearch.d.ts.map