/** * ```js * import { CommentRepository } from '@amityco/ts-sdk' * const comment = await CommentRepository.getComment('foobar') * ``` * * Fetches a {@link Amity.Comment} object * * @param commentId the ID of the {@link Amity.Comment} to fetch * @returns the associated {@link Amity.Comment} object * * @category Comment API * @async */ export declare const getComment: { (commentId: Amity.Comment['commentId']): Promise>; /** * ```js * import { getComment } from '@amityco/ts-sdk' * const comment = getComment.locally('foobar') * ``` * * Fetches a {@link Amity.Comment} object * * @param commentId the ID of the {@link Amity.Comment} to fetch * @returns the associated {@link Amity.Comment} object * * @category Comment API */ locally(commentId: Amity.Comment['commentId']): Amity.Cached | undefined; }; //# sourceMappingURL=getComment.d.ts.map