import { DeleteNamespaceResult, EnsureNamespaceResult, Namespace, SearchStorageOptions } from "./types.js";
/**
 * Client for interacting with search functionality outside of JSX context
 */
export declare class SearchClient {
    private storage;
    constructor(options?: SearchStorageOptions);
    /**
     * Get a namespace (ensures it exists first)
     * @param name The namespace name
     * @returns A Promise resolving to a Namespace
     */
    getNamespace(name: string): Promise<Namespace>;
    /**
     * Ensure a namespace exists
     * @param name The namespace name
     * @returns A Promise resolving to the ensure result
     */
    ensureNamespace(name: string): Promise<EnsureNamespaceResult>;
    /**
     * List all namespaces
     * @param options Options for listing namespaces
     * @returns A Promise resolving to an array of namespace names
     */
    listNamespaces(options?: {
        prefix?: string;
        limit?: number;
        cursor?: string;
    }): Promise<{
        namespaces: {
            name: string;
            createdAt: Date;
        }[];
        nextCursor?: string;
    }>;
    /**
     * Delete a namespace
     * @param name The namespace name
     * @returns A Promise resolving to the deletion result
     */
    deleteNamespace(name: string): Promise<DeleteNamespaceResult>;
    /**
     * Check if a namespace exists
     * @param name The namespace name
     * @returns A Promise resolving to a boolean indicating if the namespace exists
     */
    namespaceExists(name: string): Promise<boolean>;
}
//# sourceMappingURL=searchClient.d.ts.map