import type { AutoRAG } from '@cloudflare/workers-types/experimental';
/**
 * Access AutoRAG
 *
 * @example ```ts
 * const autorag = hubAutoRAG('<index-name>')
 * await autorag.aiSearch()
 * ```
 *
 * @see https://hub.nuxt.com/docs/features/autorag
 */
export declare function hubAutoRAG(instance: string): AutoRAG;
/**
 * Access remote AutoRAG.
 *
 * @param instance The AutoRAG instance name (e.g. `my-instance`)
 * @param projectUrl The project URL (e.g. https://my-deployed-project.nuxt.dev)
 * @param secretKey The secret key to authenticate to the remote endpoint
 * @param headers The headers to send with the request to the remote endpoint
 *
 * @example ```ts
 * const autorag = proxyHubAutoRAG('https://my-deployed-project.nuxt.dev', 'my-secret-key')
 * await autorag.aiSearch({})
 * ```
 *
 * @see https://developers.cloudflare.com/autorag/usage/workers-binding/
 */
export declare function proxyHubAutoRAG(instance: string, projectUrl: string, secretKey?: string, headers?: HeadersInit): AutoRAG;
