import { AttioCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import { APIError } from "../models/errors/apierror.js";
import { GetV2ThreadsThreadIdNotFoundError } from "../models/errors/getv2objectsobject.js";
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
import { GetV2ThreadsThreadIdRequest, GetV2ThreadsThreadIdResponse } from "../models/operations/getv2threadsthreadid.js";
import { APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";
/**
 * Get a thread
 *
 * @remarks
 * Get all comments in a thread.
 *
 * To view threads on records, you will need the `object_configuration:read` and `record_permission:read` scopes.
 *
 * To view threads on list entries, you will need the `list_configuration:read` and `list_entry:read` scopes.
 *
 * Required scopes: `comment:read`.
 */
export declare function threadsGet(client: AttioCore, request: GetV2ThreadsThreadIdRequest, options?: RequestOptions): APIPromise<Result<GetV2ThreadsThreadIdResponse, GetV2ThreadsThreadIdNotFoundError | APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
//# sourceMappingURL=threadsGet.d.ts.map