import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; export declare class ClientDocuments extends ClientSDK { /** * Read document permissions * * @remarks * Read the emails of all users who have access to the given document. */ retrievePermissions(getDocPermissionsRequest: components.GetDocPermissionsRequest, locale?: string | undefined, options?: RequestOptions): Promise; /** * Read documents * * @remarks * Read the documents including metadata (does not include enhanced metadata via `/documentmetadata`) for the given list of Glean Document IDs or URLs specified in the request. */ retrieve(getDocumentsRequest?: components.GetDocumentsRequest | undefined, locale?: string | undefined, options?: RequestOptions): Promise; /** * Read documents by facets * * @remarks * Read the documents including metadata (does not include enhanced metadata via `/documentmetadata`) macthing the given facet conditions. */ retrieveByFacets(getDocumentsByFacetsRequest?: components.GetDocumentsByFacetsRequest | undefined, locale?: string | undefined, options?: RequestOptions): Promise; /** * Summarize documents * * @remarks * Generate an AI summary of the requested documents. */ summarize(summarizeRequest: components.SummarizeRequest, locale?: string | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=clientdocuments.d.ts.map