/** * Format a v2 query result into a plain string for LLM context injection. * * Accepts either: * - The full v2 envelope (`{ success, data, error, meta }`) — auto-unwraps `.data` * - A bare retrieval result (with `chunks` / `graphContext`) * * @example * ```typescript * const response = await client.query({ query: "...", tenantId: "..." }); * console.log(buildString(response)); // works on the envelope * console.log(buildString(response.data!)); // also works on just the data * ``` */ export declare function buildString(result: any): string;