import { BaseApi } from './base.js'; import type { ConfluencePage, ConfluencePaginatedResponse, SearchParams } from '../types/index.js'; /** * CQL search API methods */ export declare class SearchApi extends BaseApi { /** * Search using CQL (Confluence Query Language). * * Hits `/rest/api/content/search`, which returns rows that ARE pages * directly — `id`, `type`, `title`, `_links`, etc. at the top level. * The previously-used `ConfluenceSearchResult` shape (with rows wrapped * in `.content`) belongs to the V2 `/rest/api/search` endpoint, which * we don't call here. Mismatched typing previously caused consumers to * destructure `r.content`, find undefined, and emit rows raw — so * `_links`/`_expandable` weren't stripped and no URL was injected. */ query(params: SearchParams): Promise>; } //# sourceMappingURL=search.d.ts.map