import type { PaginatedResponseOfTextSegmentEntity } from '../models/PaginatedResponseOfTextSegmentEntity'; import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export declare class TextSegments { readonly httpRequest: BaseHttpRequest; constructor(httpRequest: BaseHttpRequest); /** * Get all text segments * Get all text segments from all documents in your organization. ADMIN ONLY. * @returns PaginatedResponseOfTextSegmentEntity Successfully returned paginated results * @throws ApiError */ findAll({ orgname, limit, offset, sortDirection, sortBy, }: { orgname: string; /** * The limit of the number of results returned */ limit?: number; /** * The offset of the returned results */ offset?: number; /** * The direction to sort the results by */ sortDirection?: 'asc' | 'desc'; sortBy?: 'index' | 'page'; }): CancelablePromise; }