import type { drive_v3 } from '@googleapis/drive'; import type { Comment } from '../entities/Comment.js'; import { Reply } from '../entities/Reply.js'; import type { User } from '../entities/User.js'; /** The `fields` selection backing the User projection (authors, last-modifying users). */ export declare const USER_FIELDS = "displayName,emailAddress,me,photoLink"; /** The `fields` selection backing the Reply projection. */ export declare const REPLY_FIELDS = "id,content,htmlContent,author(displayName,emailAddress,me,photoLink),createdTime,modifiedTime,deleted,action"; /** The `fields` selection backing the Comment projection (replies included). */ export declare const COMMENT_FIELDS: string; /** Project a REST user onto the User shape, cleaning nulls to undefined. */ export declare function projectUser(data: drive_v3.Schema$User): User; /** Project a REST reply onto the Reply shape; unknown actions drop rather than masquerade. */ export declare function projectReply(data: drive_v3.Schema$Reply): Reply; /** Project a REST comment onto the Comment shape, replies included. */ export declare function projectComment(data: drive_v3.Schema$Comment): Comment; //# sourceMappingURL=comment.d.ts.map